## Find the k-th smallest divisor of a natural number N

You’re given a number N and a number K. Our task is to find the kth smallest divisor of N. Examples: Input : N =… Read More »

- Make all numbers of an array equal
- Number of array elements derivable from D after performing certain operations
- Program to Convert Hexadecimal Number to Binary
- ElGamal Encryption Algorithm
- Find numbers a and b that satisfy the given conditions
- Count numbers upto N which are both perfect square and perfect cube
- Sum of common divisors of two numbers A and B
- Count Odd and Even numbers in a range from L to R
- Find minimum possible digit sum after adding a number d
- Program to find first N Iccanobif Numbers
- Check whether a number is Non-hypotenuse number
- Most frequent factor in a range of integers
- Closest sum partition (into two subsets) of numbers from 1 to n
- Prime Factor
- Minimum multiplications with {2, 3, 7} to make two numbers equal
- Program to solve the Alligation Problem
- Check if a number is Primorial Prime or not
- Check if a number has digits in the given Order
- Check if difference of areas of two squares is prime
- Natural Numbers
- Count Numbers with N digits which consists of even number of 0’s
- Program to find count of numbers having odd number of divisors in given range
- Check if N is Strong Prime
- Smallest number greater than or equal to N divisible by K
- Find two numbers whose sum and GCD are given
- Sum of first N natural numbers which are divisible by X or Y
- Count of Numbers such that difference between the number and sum of its digits not less than L
- Find the k-th smallest divisor of a natural number N
- Program to check whether a number is Proth number or not
- Value of the series (1^3 + 2^3 + 3^3 + ... + n^3) mod 4 for a given n

You’re given a number N and a number K. Our task is to find the kth smallest divisor of N. Examples: Input : N =… Read More »

Given and . The task is to find a N digits number which is divisible by D ( 2 <= D <= 10). If it… Read More »

Write a program to find the ratio in which a shopkeeper will mix two types of rice worth Rs. kg and Rs. kg, so that… Read More »

Given a positive integer N, check if it is Quartan prime or not. Print ‘Yes’ if it is a Quartan prime otherwise Print ‘No’. Quartan… Read More »

Given a number N. The task is to check if the digits of the number follow any of the below order: The digits are in… Read More »

Given a positive integer N, check if it is Pythagorean prime or not. If it is a Pythagorean prime, print ‘Yes’ otherwise print ‘No’. Pythagorean… Read More »

Given a number n and a number d, we can add d to n as many times ( even 0 is possible ). The task… Read More »

Given a number N, the task is to find the number of ways N can be partitioned, i.e. the number of ways that N can… Read More »

Given a integer N, with prime factorisation n1p1 * n2p2 …… The task is to check if the integer N is power-isolated or not. An… Read More »

Given two complex numbers of the form and , the task is to add these two Complex Numbers. Here the values of real and imaginary… Read More »

Given a number N. The task is to find the maximum possible value of SumOfDigits(A) + SumOfDigits(B) such that A + B = n (0<=A,… Read More »

Given two numbers a and n, the task is to find the single sum of digits of a^n (pow(a, n)). In single digit sum, we… Read More »

You have given a number n. Check if a number can be represented in the form of pow(a, b) (a^b). Examples: Input : 4 Output… Read More »

Given a very large Number N. The task is to check if the number can be divided into two or more segments of an equal… Read More »

Given an integer . The task is to find all factors of N and print the product of four factors of N such that: Sum… Read More »