##
Powerful Number
November 23, 2016

A number n is said to be Powerful Number if for every prime factor p of it, p2 also divides it. For example:- 36 is… Read More »

November 23, 2016

A number n is said to be Powerful Number if for every prime factor p of it, p2 also divides it. For example:- 36 is… Read More »

November 22, 2016

Padovan Sequence similar to Fibonacci sequence with similar recursive structure. The recursive formula is, P(n) = P(n-2) + P(n-3) P(0) = P(1) = P(2) =… Read More »

November 21, 2016

Juggler Sequence is a series of integer number in which the first term starts with a positive integer number a and the remaining terms are… Read More »

November 20, 2016

A number n is said to be Deficient Number if sum of all the divisors of the number denoted by divisorsSum(n) is less than twice… Read More »

November 19, 2016

An integer number in base 10 which is divisible by sum of it digits is said to be a Harshad Number. An n-harshad number is… Read More »

November 18, 2016

Given a number n, the task is to find out whether this number is smith or not. A Smith Number is a composite number whose… Read More »

A Kaprekar number is a number whose square when divided into two parts and such that sum of parts is equal to the original number… Read More »

November 17, 2016

A n digit number x is called Keith number if it appears in a special sequence (defined below) generated using its digits. The special sequence… Read More »

Lucas numbers are similar to Fibonacci numbers. Lucas numbers are also defined as the sum of its two immediate previous terms. But here the first… Read More »

November 16, 2016

Find the Smallest number (Not leading Zeros) which can be obtained by rearranging the digits of given number. Examples: Input: n = 846903 Output: 304689… Read More »

Given an integer n, find the nth Pentagonal number. First three pentagonal numbers are 1, 5 and 12 (Please see below diagram). The n’th pentagonal… Read More »

Given two integers n and k. Find position the n’th multiple of K in the Fibonacci series. Examples: Input : k = 2, n =… Read More »

November 15, 2016

Given a Number n such that 1 <= N <= 10^6, the Task is to Find the LCM of First n Natural Numbers. Examples: Input… Read More »

November 12, 2016

Given an array arr[] such that 1 <= arr[i] <= 10^12, the task is to find prime factors of LCM of array elements. Examples: Input… Read More »

Given a large number as string, find remainder of number when divided by 7. Examples: Input : num = 1234 Output : 2 Input :… Read More »