## Number of digits in the nth number made of given four digits

Find the number of digits in the nth number constructed by using 6, 1, 4 and 9 as the only digits in the ascending order.… Read More »

- Program to find the last two digits of x^y
- Reduce number to a single digit by subtracting adjacent digits repeatedly
- Count of integers in a range which have even number of odd digits and odd number of even digits
- Check if the sum of digits of number is divisible by all of its digits
- Round the given number to nearest multiple of 10 | Set-2
- First N terms whose sum of digits is a multiple of 10
- Find the maximum sum of digits of the product of two numbers
- Nearest greater number by interchanging the digits
- Find the smallest positive number which can not be represented by given digits
- Reduce N to 1 with minimum number of given operations
- Count the number of occurrences of a particular digit in a number
- Sum of the digits of square of the given number which has only 1's as its digits
- Find the first N integers such that the sum of their digits is equal to 10
- Sum of last digit of all integers from 1 to N divisible by M
- Find the remainder when First digit of a number is divided by its Last digit
- Minimum possible number with the given operation
- Check if two Integer are anagrams of each other
- Count of matchsticks required to represent the given number
- Find the largest number that can be formed by changing at most K digits

Find the number of digits in the nth number constructed by using 6, 1, 4 and 9 as the only digits in the ascending order.… Read More »

Given K, number of digits, and d0 and d1 as the two digits to form the k-sized integer. Task is to check whether the k-sized… Read More »

Consider a series of numbers composed of only digits 2, 3, 5, 7 (primes). First few numbers in the series are 2, 3, 5, 7,… Read More »

Given a, b and N(1 to 106). Task is to count the numbers formed by digits a and b exactly of a length N such… Read More »

Given a number n, find the sum of digits of n when represented in different bases from 2 to n-1. Examples: Input : 5 Output… Read More »

Given a integer n, we need to find how many digits remove from the number to make it a perfect square. Examples : Input :… Read More »

Given two positive integers a and b, task is to find the number of digits in a^b (a raised to the power b). Example: Input:… Read More »

Given two integer number n and d. The task is to find the number between 0 to n which contain the specific digit d. Examples:… Read More »

A positive integer is considered a good number if sum of its digits is even. Find n-th smallest good number. Examples : Input : n… Read More »

Given a number N, we need to write a program to find the largest number not greater than N which has all digits even. Examples:… Read More »

We are given an integer N. We need to write a program to find the least positive integer X made up of only digits 9’s… Read More »

Let n be any power raised to base 2 i.e 2n. We are given the number n and our task is to find out the… Read More »

Given a number N, we need to write a program to find the smallest number not less than N, which has all digits even. Examples:… Read More »

A Pandigital Number is number which makes the use of all digits 1 to 9 exactly once. We are given a number, we need to… Read More »

An undulating number is a number that has only two types of digits and alternate digits are same, i.e., it is of the form “ababab….”.… Read More »