Skip to content

Tag Archives: series

Given a positive integer N. The task is to find Nth term of the series: Examples: Input: N = 2Output: 2.25 Input: N = 3Output:… Read More
Given a positive integer n, the task is to find the sum of series  8/10 + 8/100 + 8/1000 + 8/10000. . . till Nth… Read More
Given a positive integer N, the task is to find Nth term of the series: 1, 3, 7, 15, 31, ….. Examples: Input: N =… Read More
Given a positive integer, n. Find the sum of the first n term of the series: 1, 4, 13, 40, 121, ….. Examples: Input: n… Read More
Given a positive integer N. The task is to find Nth term of the series 3, 7, 14, 27, 52, ….. Examples: Input: N =… Read More
Given a positive integer N. The task is to find Nth term of the series: 4, 11, 30, 85, 248… Examples: Input: N = 4Output:… Read More
Given a positive integer N. The task is to find Nth term of the series: 1, 2, 6, 21, 88, 445, . . . Examples:… Read More
Given a positive integer, N. Find the sum of the first N term of the series 12, 14, 24, 58, 164, ….. Examples: Input: N… Read More
Given a positive integer n. Find the sum of the first n term of the series  12, 105, 1008, 10011, ….. Examples: Input: n =… Read More
Given a positive integer N, the task is to find the sum of series 1! – 2! + 3! – 4! + 5!… till Nth… Read More
Given a positive integer N. The task is to find Nth term of the series 5, 13, 37, 109, 325, ….. Examples: Input: N =… Read More
Given a number N, find the N-th term in the series 2, 2, 4, 4, 6, 8, 8……… Examples: Input: N = 1Output: 2 Input:… Read More
Given a positive integer N, the task is to find the Nth term in the series 0, 1, 1, 2, 5, 29, 841… Examples: Input:… Read More
Given a positive integer N. The task is to compute the sum of factorial from 1! to N!, 1! + 2! + 3! + …… Read More
Given a series . and the value of a. Find the sum of the first n term of the series. Examples: Input: a = 3, n… Read More

Start Your Coding Journey Now!