##
Taxicab Numbers
September 21, 2017

The nth Taxicab number Taxicab(n), also called the n-th Hardy-Ramanujan number, is defined as the smallest number that can be expressed as a sum of… Read More »

September 21, 2017

The nth Taxicab number Taxicab(n), also called the n-th Hardy-Ramanujan number, is defined as the smallest number that can be expressed as a sum of… Read More »

September 20, 2017

A number is said to be a magic number, if the sum of its digits are calculated till a single digit recursively by adding the… Read More »

September 19, 2017

A Geometric series is a series with a constant ratio between successive terms. The first term of the series is denoted by a and common… Read More »

September 17, 2017

In number system, Sylvester’s sequence is an integer sequence in which each member of the sequence is the product of the previous members, plus one.… Read More »

A composite number is a positive integer that is not prime. In other words, it has a positive divisor other than one or itself. First… Read More »

Given a number n, find sum of first natural numbers. Examples: Input : n = 3 Output : 6 Explanation : Note that 1 +… Read More »

September 16, 2017

We are provided with a number N. Our task is to generate all the Hailstone Numbers from N and find the number of steps taken… Read More »

September 5, 2017

A neon number is a number where the sum of digits of square of the number is equal to the number. The task is to… Read More »

August 14, 2017

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

July 30, 2017

Write a program to check if a given integer is jumbled or not. A number is said to be Jumbled if for every digit, its… Read More »

July 28, 2017

Pell numbers are numbers that are similar to the Fibonacci numbers and are generated by below formula Pn = 2*Pn-1 + Pn-2 with seeds P0… 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 »