## Check if the given decimal number has 0 and 1 digits only

Given an integer n, the task is to check whether n is in binary or not. Print true if n is the binary representation else… Read More »

- Generating numbers that are divisor of their right-rotations
- Check if a number is a Mystery Number
- Immediate smallest number after re-arranging the digits of a given number
- Largest number less than N with digit sum greater than the digit sum of N
- Print a number strictly less than a given number such that all its digits are distinct.
- Find minimum possible digit sum after adding a number d
- Find next palindrome prime
- Recursive program to check if number is palindrome or not
- Maximum sum and product of the M consecutive digits in a number
- Program to find the N-th term of series 3, 5, 33, 35, 53…. | Set-2
- Program for replacing one digit with other
- Find the slope of the given number
- Print numbers with digits 0 and 1 only such that their sum is N
- Count Unary Numbers in a Range
- Largest N digit number divisible by given three numbers
- Count all palindrome which is square of a palindrome
- Least Greater number with same digit sum
- Smallest number with given sum of digits and sum of square of digits
- Find last two digits of sum of N factorials
- Count numbers (smaller than or equal to N) with given digit sum
- Check if the sum of digits of a number N divides it
- Generate a number such that the frequency of each digit is digit times the frequency in given number
- Largest number divisible by 90 that can be made using 0 and 5
- Count Numbers with N digits which consists of even number of 0’s
- Program to find first N Iccanobif Numbers
- Divide a number into two parts such that sum of digits is maximum
- Minimum number of digits to be removed so that no two consecutive digits are same
- Smallest odd digits number not less than N
- Sum and Product of digits in a number that divide the number
- Check whether product of digits at even places of a number is divisible by K

Given an integer n, the task is to check whether n is in binary or not. Print true if n is the binary representation else… Read More »

Given an integer N, the task is to find the greatest number less than N such that the sum of its digits is greater than… Read More »

Given a number N, the task is to find the required numbers consist of only 0 and 1 digit whose sum is equal to N.… Read More »

Given a number N. The task is to find first N Iccanobif Numbers. Iccanobif Numbers are similar to Fibonacci Numbers. The K-th Iccanobif number can… Read More »

Given three integers A, B and N, repeat the following process N times: Add a digit to A such that after adding it, A is… Read More »

Given an integer N, the task is to find the Nth number made up of odd digits (1, 3, 5, 7, 9) only. First few… Read More »

Given a number N. The task is to find the count of numbers which have N digits and even number of zeroes. Note: The number… Read More »

Given two arrays arr1[] and arr2[]. The task is to find the total number of distinct pairs(formed by picking 1 element from arr1 and one… Read More »

Given a number . The task is to check if the number is formed by concatenating the numbers 1, 14 and 144 only any number… Read More »

Given a number N(less than 10^9). The task is to print all the numbers less than N which are having a maximum of 2 unique… Read More »

Given a number N and numbers of digits in N, the task is to check whether the product of digits at even places of a… Read More »

Given a number N, the task is to find the largest number not greater than N which has all of it’s digits as odd. Examples:… Read More »

Given a number in the form of a string. The task is to find the maximum sum and product of m consecutive digits that are… Read More »

Given four integers x, y, z and n, the task is to find the largest n digit number which is divisible by x, y and… Read More »

Given a number N, the task is to find the smallest number not less than N, which has all digits odd. Examples: Input: N =… Read More »