## Sum of first n terms of a given series 3, 6, 11, …..

Given a series and a number n, the task is to find the sum of its first n terms. Below is the series: 3, 6,… Read More »

- Arithmetic Progression
- Find the Nth term of the series 1 + 2 + 6 + 15 + 31 + 56 + ...
- Sum of first N natural numbers which are divisible by X or Y
- Convert given array to Arithmetic Progression by adding an element
- Program to find the angles of a quadrilateral
- Sum of i * countDigits(i)^2 for all i in range [L, R]
- Sum of the numbers upto N that are divisible by 2 or 5
- Sum of multiples of A and B less than N
- Find the nth term of the series 0, 8, 64, 216, 512, . . .
- Ratio of mth and nth terms of an A. P. with given ratio of sums
- Find the sum of all multiples of 2 and 5 below N
- Sum of first n terms of a given series 3, 6, 11, .....
- Ratio of mth and nth term in an Arithmetic Progression (AP)
- Arithmetic Mean
- Series summation if T(n) is given and n is very large
- Print first N terms of series (0.25, 0.5, 0.75, ...) in fraction representation

Given a series and a number n, the task is to find the sum of its first n terms. Below is the series: 3, 6,… Read More »

Given the first term (A) and common difference (D) of an Arithmetic Progression, and a prime number (P). The task is to find the position… Read More »

Given an array arr[] of integers and a number . You can change any element of the array to any integer. The task is to… Read More »

Given an unsorted array of size n and an integer d which is the common difference, the task is to find the length of the… Read More »

Given a non-empty string S of uppercase alphabets of length L and the task is to find the longest string from the given string with… Read More »

Given an integer value n, find out the n-th positive integer whose sum is 10. Examples: Input : n = 2 Output : 28 The… Read More »

Given a number n and an array containing 1 to (2n+1) consecutive numbers. Three elements are chosen at random. Find the probability that the elements… Read More »

We have to print an arithmetic progressive series in PHP, between two given numbers a and b both including, with a given common arithmetic difference… Read More »

Given three integers A, B and N the task is to find N Arithmetic means between A and B. We basically need to insert N… Read More »

Given n and a number, the task is to find the sum of n digit numbers that are divisible by given number. Examples: Input :… Read More »

We are given the Integer n and also in the next line 2*n integers which represent a Arithmetic Progression series a1, a2, a3…a2n they are… Read More »

Given a sorted array of distinct positive integers, print all triplets that form AP (or Arithmetic Progression) Examples : Input : arr[] = { 2,… Read More »

Given first term (a), common difference (d) and a integer N of the Arithmetic Progression series, the task is to find Nthterm of the series.… Read More »

Given first term (a), common difference (d) and a integer n of the Arithmetic Progression series, the task is to print the series. Examples :… Read More »

In mathematics, an arithmetico–geometric sequence is the result of the term-by-term multiplication of a geometric progression with the corresponding terms of an arithmetic progression. is… Read More »