Thabit number
Given a positive integer n, the task is to check if it is a Thabit number. If the given number is a Thabit number then… Read More »
Given a positive integer n, the task is to check if it is a Thabit number. If the given number is a Thabit number then… Read More »
Given a function f(n) = (13 + 23 + 33 + … + n3), the task is to find the value of f(n) mod 4… Read More »
Given a range of integer from ‘a’ to ‘b’ . Our task is to calculate the amount of numbers from the interval [ a, b… Read More »
You’re given a number N and a number K. Our task is to find the kth smallest divisor of N.Examples: Input : N = 12,… 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 »