## Value of the series (1^3 + 2^3 + 3^3 + … + n^3) mod 4 for a given n

Given a function f(n) = (13 + 23 + 33 + … + n3), the task is to find the value of f(n) mod 4… Read More »

- Print first N terms of Lower Wythoff sequence
- Program to Calculate e^x by Recursion
- Find n positive integers that satisfy the given equations
- Sum of the series Kn + ( K(n-1) * (K-1)1 ) + ( K(n-2) * (K-1)2 ) + ....... (K-1)n
- Sum of the series 1, 2, 4, 3, 5, 7, 9, 6, 8, 10, 11, 13.. till N-th term
- Find Nth term of the series 1, 5, 32, 288 ...
- Find Nth term of the series 1, 6, 18, 40, 75, ....
- Find the nth term of the given series
- Sum of numbers from 1 to N which are in Lucas Sequence
- Find if the given number is present in the infinite sequence or not
- Maximum value of |arr[0] - arr[1]| + |arr[1] - arr[2]| + ... +|arr[n - 2] - arr[n - 1]| when elements are from 1 to n
- Concentric Hexagonal Numbers
- Wedderburn–Etherington number
- Gijswijt's Sequence
- Alcuin's Sequence
- Find the ln(X) and log
_{10}X with the help of expansion - Euclid–Mullin Sequence
- Print N terms of Withoff Sequence

Given a function f(n) = (13 + 23 + 33 + … + n3), the task is to find the value of f(n) mod 4… Read More »

Given a number N, The task is to write a program to find the Nth term of the below series: 5, 12, 21, 32, 45……… Read More »

Given a number N, the task is to find the Nth (N may be up to 10^18) term of this series: 2, 10, 24, 44,… Read More »

Given a number N, the task is to find the Nth term of the series: 1, 2, 11, 12, 21… Examples: Input : N =… Read More »

Given a number n, print the nth odd number. The 1st odd number is 1, 2nd is 3 and so on. Examples: Input : 3… Read More »

Given a number n, print the nth even number. The 1st even number is 2, 2nd is 4 and so on. Examples: Input : 3… Read More »

Given a number N. The task is to find the Nth Harmonic Number. Let the nth harmonic number be Hn. The harmonic series is as… Read More »

Given a number N. The task is to write a program to find the Nth term of the below series: 0, 7, 18, 33, 51,… Read More »

Given a number N. The task is to write a program to find the Nth term of the below series: 0, 10, 30, 60, 99,… Read More »

Given a number N. The task is to write a program to find the Nth term of the below series: 2, 12, 28, 50, 77,… Read More »

Given a number N. The task is to write a program to find the Nth term of the below series: 0, 11, 28, 51, 79,… Read More »

Given a number N. The task is to write a program to find the Nth term of the below series: 4, 14, 28, 46, 68,… Read More »

Given a number N. The task is to write a program to find the Nth term of the below series: 1, 6, 17, 34, 56,… Read More »

Given a number N. The task is to write a program to find the Nth term of the below series: 0, 9, 22, 39, 60,… Read More »

Given a number N. The task is to write a program to find the Nth term of the below series: 3, 12, 29, 54, 86,… Read More »