## Centered Octagonal Number

Given a number n, find the nth centered octagonal number. A centered octagonal number represents an octagon with a dot in the centre and others… Read More »

Given a number n, find the nth centered octagonal number. A centered octagonal number represents an octagon with a dot in the centre and others… Read More »

Given a number n, find the n-th centered cube number. The Centered cube number counts the number of points which are formed by a point… Read More »

Given n, we need to find sum of 1*1! + 2*2! + ……..+ n*n! Examples: Input: 1 Output: 1 Input: 3 Output: 23 1 *… Read More »

Given n, we need to find sum of 1*1*2! + 2*2*3! + ……..+ n*n*(n+1)! Examples: Input: 1 Output: 2 Input: 3 Output: 242 We may… Read More »

Given a number n, find the nth Pentatope number. A pentatope number is represented by the fifth number in any row of Pascal’s Triangle. As… Read More »

Given a number n, We need to check whether n is aspiring number or not. The number n is called an aspiring number if its… Read More »

Given a number n, the task is to find the nth heptadecagonal number . A heptadecagonal number is class of figurate number. It has seventeen… Read More »

Given a number n, the task is to find the nth hexadecagonal number. A Hexadecagonal number is class of figurate number and a perfect squares.… Read More »

We are given a number n, we need to find n-th centered octahedral number. Description: A centered octahedral number is a figurate number. It counts… Read More »

Given a number n, the task is to find n-th dodecahedral number. A dodecahedral number belongs to a figurate number and represents it dodecahedron. First… Read More »

We are given integer n, we need to find n-th centered tetrahedral number. Description: The centered tetrahedral number is a centered figurate number that represents… Read More »

Given a number n, the task is to find nth Centered heptagonal number. Centered heptagonal number is centered figure number that represents a heptagon with… Read More »

We are given a number n, we need to find n-th centered Icosahedral number. Description: A centered icosahedral number is a centered figurate number that… Read More »

Given a number n , the task is to find nth Centered Square Number. Centered Square Number is a centered figurate number that gives the… Read More »

Given a positive integer n. The task is to find the sum of the sum of square of first n natural number. Examples: Input :… Read More »