##
Demlo number (Square of 11…1)
July 25, 2017

Given a number of the form 11..1 such that number of digits in it is smaller than 10, find square of the number. Examples: Input… Read More »

July 25, 2017

Given a number of the form 11..1 such that number of digits in it is smaller than 10, find square of the number. Examples: Input… Read More »

July 3, 2017

Lychrel Number is a natural number that cannot form a palindrome through the iterative process of repeatedly reversing its digits and adding the resulting numbers.… Read More »

June 29, 2017

Given a number M which represents maximum number of characters (ignoring spaces) to be used to print first N natural numbers. Find the largest value… Read More »

June 26, 2017

The numbers that can be arranged to form a rectangle are called Rectangular Numbers ( also known as Pronic numbers). The first few rectangular numbers… Read More »

June 18, 2017

Find the sum of all the terms in the nth row of the series given below. 1 2 3 4 5 6 7 8 9… Read More »

June 4, 2017

Given a number N, write a function to express N as sum of two or more consecutive positive numbers. If there is no solution, output… Read More »

Consider a series of numbers composed of only digits 4 and 7. First few numbers in the series are 4, 7, 44, 47, 74, 44744,..… Read More »

May 28, 2017

Tidy Number are those number whose digits are arranged in non-decreasing order. Here, we are given a number and we have to find another number… 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 »