##
Find the n-th number made of even digits only
May 27, 2017

Given a number n, find out the n-th positive number made up of even digits (0, 2, 4, 6, 8) only. Firs few numbers made… Read More »

May 27, 2017

Given a number n, find out the n-th positive number made up of even digits (0, 2, 4, 6, 8) only. Firs few numbers made… Read More »

April 28, 2017

A number is termed as star number, if it is a centered figurate number that represents a centered hexagram (six-pointed star) similar to chinese checker… Read More »

April 3, 2017

Given an integer n. Print first n elements of Recaman’s sequence. Examples: Input : n = 6 Output : 0, 1, 3, 6, 2, 7… Read More »

March 23, 2017

Given an integer n. Check whether the number n is superperfect number or not. A superperfect number is a positive integer which satisfies σ2(n) =… Read More »

March 9, 2017

A Cullen Number is a number of the form is 2n * n + 1 where n is an integer. The first few Cullen numbers… Read More »

February 14, 2017

A number is said to be a reversible if sum of the number and its reverse had only odd digits. The problem is to find… Read More »

January 21, 2017

Given a number positive number n, find value of P0 + P1 + P2 + …. + Pn where pi indicates i’th Perrin number. First… Read More »

January 19, 2017

The Perrin numbers are the numbers in the following integer sequence. 3, 0, 2, 3, 2, 5, 5, 7, 10, 12, 17, 22, 29, 39… Read More »

January 5, 2017

Super ugly numbers are positive numbers whose all prime factors are in the given prime list. Given a number n, the task is to find… Read More »

December 9, 2016

A number n is called Equidigital if the number of digits in the prime factorization of n (including powers) is same as number of digits… Read More »

December 3, 2016

Given a number n, the task is to print its Aliquot Sequence. Aliquot Sequence of a number starts with itself, remaining terms of the sequence… Read More »

November 28, 2016

A Carol number is an integer of the form 4n – 2(n+1) – 1. An equivalent formula is (2n-1)2 – 2. An Interesting Property :… Read More »

November 25, 2016

Given an array arr[] of N positive elements, the task is to find whether it is possible to convert this array into Geometric Progression (GP)… Read More »

November 24, 2016

Emirp is the word “prime” spelled backwards, and it refers to a prime number that becomes a new prime number when you reverse its digits.… Read More »

A number n is said to be Abundant Number if sum of all the proper divisors of the number denoted by sum(n) is greater than… Read More »