## Vampire Number

Introduction to Vampire Number and its implementation using python. Introduction In mathematics, a vampire number (or true vampire number) is a composite natural number v,… Read More »

- Generate all rotations of a number
- Immediate smallest number after re-arranging the digits of a given number
- Check if a number is a Mystery Number
- Program to Convert Hexadecimal Number to Binary
- Count distinct pairs from two arrays having same sum of digits
- Program to check the number is Palindrome or not
- Count of Numbers in Range where first digit is equal to last digit of the number
- Count the number of holes in an integer
- Maximum sum and product of the M consecutive digits in a number
- Program to delete Nth digit of a Number
- Largest number less than N with digit sum greater than the digit sum of N
- Sum and Product of digits in a number that divide the number
- Count Unary Numbers in a Range
- Minimum removals in a number to be divisible by 10 power raised to K
- Program to find first N Iccanobif Numbers
- Integers from the range that are composed of a single distinct digit
- Program to check if a number is divisible by any of its digits
- Sum of integers upto N with given unit digit
- Possible cuts of a number such that maximum parts are divisible by 3
- Program to check if a number is divisible by sum of its digits
- Nth number made up of odd digits only
- Print numbers with digits 0 and 1 only such that their sum is N
- Largest N digit number divisible by given three numbers
- Check whether product of digits at even places is divisible by sum of digits at odd place of a number
- Least Greater number with same digit sum
- Count all palindrome which is square of a palindrome
- Count Numbers with N digits which consists of even number of 0’s
- Find last two digits of sum of N factorials
- Smallest odd digits number not less than N
- Largest number not greater than N all the digits of which are odd

Introduction to Vampire Number and its implementation using python. Introduction In mathematics, a vampire number (or true vampire number) is a composite natural number v,… Read More »

Given an integer N, find out the count of numbers(m) that satisfy the condition m + sum(m) + sum (sum(m)) = N, where sum(m) denotes… Read More »

Given a 6 digit number, calculate the minimum number of digits that needs to be replaced in order to make the number magical. The number… Read More »

A number is said to be a Spy number if the sum of all the digits is equal to the product of all digits. Examples… Read More »

Given a number N, our task is to generate all the possible cyclic permutations of the number. A cyclic permutation shifts all the elements of… Read More »

Given a palindromic number num having n number of digits. The problem is to find the smallest palindromic number greater than num using the same… Read More »

Count the number of digits in a long integer entered by a user. Recommended: Please try your approach on {IDE} first, before moving on to… Read More »

Given a number N, the task is to print the sequence upto N. The sequence is : 1, 2, 4, 8, 16, 22, 26, 38,… Read More »

Given a non-negative number num. The problem is to find the smallest number greater than num by performing atmost on swap operation between any two… Read More »

Given a non-negative number n. The problem is to find the smallest number k such that the product of digits of k is equal to… 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, 77,… Read More »

A certain number is given and the task is to count even digits and odd digits of the number and also of even digits are… Read More »

Given two integers a and b. The problem is to find the number of digits in the product of these two integers. Examples: Input :… Read More »

Given a non-negative number num. The problem is to apply at most one swap operation on the number num so that the resultant is the… Read More »

Given a number ‘n’ and our goal is to find out it is palindrome or not without using any extra space. We can’t make a… Read More »