## Aspiring Number

Given a number n, We need to check whether n is aspiring number or not. The number n is called an aspiring number if its… Read More »

- Check if a number can be expressed as a^b | Set 2
- Check if any permutation of a large number is divisible by 8
- Convert a String to Integer Array in C/C++
- Number of array elements derivable from D after performing certain operations
- Ways to write N as sum of two or more positive integers | Set-2
- Find numbers a and b that satisfy the given conditions
- Count numbers upto N which are both perfect square and perfect cube
- Check whether a number is Non-hypotenuse number
- Modulo power for large numbers represented as strings
- Find minimum possible digit sum after adding a number d
- Dilworth's Theorem
- Most frequent factor in a range of integers
- Sum of common divisors of two numbers A and B
- Check if difference of areas of two squares is prime
- Program to find first N Iccanobif Numbers
- Program to solve the Alligation Problem
- Minimum number of elements to be removed to make XOR maximum
- Sum of first N natural numbers which are divisible by X or Y
- Value of the series (1^3 + 2^3 + 3^3 + ... + n^3) mod 4 for a given n
- Check if a number has digits in the given Order
- Check if a number is Primorial Prime or not
- Count Numbers with N digits which consists of even number of 0’s
- Find two numbers whose sum and GCD are given
- Find nth Hermite number
- Minimize the value of N by applying the given operations
- Natural Numbers
- Check if N is Strong Prime
- Count all the numbers in a range with smallest factor as K
- Divide a number into two parts such that sum of digits is maximum
- Program to find count of numbers having odd number of divisors in given range

Given a number n, We need to check whether n is aspiring number or not. The number n is called an aspiring number if its… Read More »

Given a number n, the task is to find the nth heptadecagonal number . A heptadecagonal number is class of figurate number. It has seventeen… Read More »

Given a number n, the task is to find the nth hexadecagonal number. A Hexadecagonal number is class of figurate number and a perfect squares.… Read More »

Given a number n, the task is to find nth Centered heptagonal number. Centered heptagonal number is centered figure number that represents a heptagon with… Read More »

Given a number n , the task is to find nth Centered Square Number. Centered Square Number is a centered figurate number that gives the… Read More »

For the given length n, find all n-length Strobogrammatic numbers. Strobogrammatic Number is a number whose numeral is rotationally symmetric so that it appears the… Read More »

Check if a number can be expressed as x^y (x raised to power y) Given a positive integer n, find if it can be expressed… Read More »

Given a and b, find the ceiling value of a/b without using ceiling function. Examples: Input : a = 5, b = 4 Output :… Read More »

Vantieghems Theorem is a necessary and sufficient condition for a number to be prime. It states that for a natural number n to be prime,… Read More »

In number theory, an arithmetic number is an integer for which the average of its positive divisors is also an integer. Or in other words,… Read More »

Given two integers L and R. Find the number of perfect powers in the given range [L, R]. A number x is said to be… Read More »

The sequence first consists of all the odd numbers starting from 1 to n and then remaining even numbers starting 2 up to n. Let’s… Read More »

Given N and M, task is to find whether numbers 1 to N can be divided into two sets such that the absolute difference between… Read More »

Given a number n, find the number of ways to represent this number as a sum of 2 or more consecutive natural numbers. Examples: Input… Read More »

Given a number ‘n’, check whether it is a hoax number or not. A Hoax Number is defined as a composite number, whose sum of… Read More »