# Category Archives: Mathematical

Given a positive floating point number n, the task is to find the smallest integer k, such that when we multiply k with n, we… Read More
Find all numbers less than n, which are palindromic in base 10 as well as base 2. Examples: 33 is Palindrome in its decimal representation.… Read More
Find all numbers less than n, which are palindromic. Numbers can be printed in any order. Examples : Input : n = 12 Output :… Read More
Given an array of n elements. The task is to find number of sextuplets that satisfy the below equation such that a, b, c, d,… Read More
Find all circular primes less than given number n. A prime number is a Circular Prime Number if all of its possible rotations are itself… Read More
A Sphenic Number is a positive integer n which is product of exactly three distinct primes. The first few sphenic numbers are 30, 42, 66,… Read More
Given an array of digits (values are from 0 to 9), find the minimum possible sum of two numbers formed from digits of the array.… Read More
There are N persons in a room. Find the maximum number of Handshakes possible. Given the fact that any two persons shake hand exactly once.… Read More
Given two coordinates (x, y) and (a, b). Find if it is possible to reach (x, y) from (a, b). Only possible moves from any coordinate… Read More
Given a number n, the task is to calculate its primorial. Primorial (denoted as Pn#) is product of first n prime numbers. Primorial of a… Read More
Given three numbers a, b and m where 1<=b,m<=10^6 and ‘a’ may be very large and contains upto 10^6 digits. The task is to find… Read More
Given n points in a Cartesian coordinate system. Count the number of triangles formed.  Examples:  Input : point[] = {(0, 0), (1, 1), (2, 0),… Read More
Given hypotenuse and area of a right angle triangle, get its base and height and if any triangle with given hypotenuse and area is not… Read More
Given an array arr of N integer elements, the task is to find sum of average of all subsets of this array. Example : Input… Read More
A number n is called Equidigital if the number of digits in the prime factorization of n (including powers) is same as number of digits… Read More