## Sum of first N natural numbers with all powers of 2 added twice

Given an integer N, the task is to calculate the sum of first N natural numbers adding all powers of 2 twice to the sum.Examples: … Read More »

- Last digit of sum of numbers in the given range in the Fibonacci series
- Find the Sum of the series 1/2 - 2/3 + 3/4 - 4/5 + ... till N terms
- Sum of all numbers in the given range which are divisible by M
- Find the Sum of the series 1 + 1/3 + 1/5 + 1/7 + ... till N terms
- Program to print the series 1, 9, 17, 33, 49, 73, 97... till N terms
- Find the Sum of the series 1 + 2 + 9 + 64 + 625 + 7776 ... till N terms
- Find the Sum of the series 1, 2, 3, 6, 9, 18, 27, 54, ... till N terms
- Program to find the sum of the series 1 + x + x^2+ x^3+ .. + x^n
- Find K consecutive integers such that their sum is N
- Find the sequence number of a triangular number
- Sum of alternating sign cubes of first N Natural numbers
- Sum of first K numbers which are not divisible by N
- Find the sum of all Betrothed numbers up to N
- Sum of first N natural numbers with all powers of 2 added twice
- Sum of first N Star Numbers
- Sum of series formed by difference between product and sum of N natural numbers
- Sum of the first N Pronic Numbers
- Sum of sum-series of first N Natural numbers

Given an integer N, the task is to calculate the sum of first N natural numbers adding all powers of 2 twice to the sum.Examples: … Read More »

Given a natural number n, find the sum of sum-series of first N natural number. Sum-Series: is sum of first N natural numbers, i.e, sum-series… Read More »

Given a number N, the task is to find the sum of the first N Pronic Numbers. The numbers that can be arranged to form… Read More »

Given a natural number N, the task is to find the sum of the series up to Nth term where the ith term denotes the… Read More »

Given a number N, the task is to find the sum of the first N star numbers. The first few star numbers are 1, 13,… Read More »

Given an integer N print the sequence number of the given Triangular Number. If the number is not a triangular number then print -1. A… Read More »

Given two numbers N and K, the task is to find the sum of first K numbers which are not divisible by N. Examples: Input:… Read More »

Given a number N, the task is to find the sum of the all Betrothed numbers up to N. Let, A and B are a… Read More »

Given two integers N and K, the task is to find K consecutive integers such that their sum if N. Note: If there is no… Read More »

Given a number N, the task is to find the sum of alternating sign cubes of first N natural numbers, i.e., 13 – 23 +… Read More »

Given an integer X, the task is to print the series and find the sum of the series Examples : Input: X = 2, N… Read More »

Given two non-negative integers M, N which signifies the range [M, N] where M ≤ N, the task is to find the last digit of… Read More »

Given a number N, the task is to print the first N terms of the series: Examples: Input: N = 7 Output: 1, 9, 17,… Read More »

Given a number N, the task is to find the sum of the below series till N terms. Examples: Input: N = 6 Output: -0.240476… Read More »

Given a number N, the task is to find the sum of the below series till N terms. Examples: Input: N = 2 Output: 3… Read More »