## Program to get the Sum of series: 1 – x^2/2! + x^4/4! -…. upto nth term

This is a mathematical series program where a user must enter the number of terms up to which the sum of the series is to… Read More »

- Find the unit place digit of sum of N factorials
- Number of integral solutions of the equation x1 + x2 +.... + xN = k
- Range and Update Sum Queries with Factorial
- Number of permutations of a string in which all the occurrences of a given character occurs together
- Number of trailing zeroes in base 16 representation of N!
- Find maximum value of x such that n! % (k^x) = 0
- Find Nth term of the series 1, 1, 2, 6, 24...
- Find GCD of factorial of elements of given array
- Number of ways to arrange a word such that all vowels occur together
- Find last two digits of sum of N factorials
- Number of trailing zeroes in base B representation of N!
- Find Nth term of the series 1, 8, 54, 384...
- Program to calculate the value of nPr
- Find sum of product of number in given series
- Find the total Number of Digits in (N!)N
- Minimum length of string having all permutation of given string.
- Implementation of Wilson Primality test
- Arrangement of the characters of a word such that all vowels are at odd places
- Numbers of Length N having digits A and B and whose sum of digits contain only digits A and B
- Seating arrangement of n boys and girls alternatively around a round table
- Maximum number with same digit factorial product
- Ways of dividing a group into two halves such that two elements are in different groups
- Arrangement of words without changing the relative position of vowel and consonants
- Find the smallest number X such that X! contains at least Y trailing zeros.
- Count numbers having N 0's and and M 1's with no leading zeros
- Check if N is a Factorial Prime

This is a mathematical series program where a user must enter the number of terms up to which the sum of the series is to… Read More »

Given an integer n, we need to find the number of positive integers whose factorial ends with n zeros. Examples: Input : n = 1… Read More »

Given two number m and n, the task is to find factorial of all number including m and n and then print below format. Examples:… Read More »

Given two numbers m and n. Find the GCD of the their factorial. Examples : Input : n = 3, m = 4 Output :… Read More »

A number is said to be a Peterson number if the sum of factorials of each digit of the number is equal to the number… Read More »

Given two numbers k and n, find the largest power of k that divides n! Constraints: K > 1 Examples: Input : n = 7,… Read More »

Factorial of a non-negative integer, is multiplication of all integers smaller than or equal to n. Example : Factorial of 6 is 6 * 5… Read More »

A number N is called a factorial number if it is the factorial of a positive integer. For example, the first few factorial numbers are… Read More »

We are given two numbers A and B such that B >= A. We need to compute the last digit of this resulting F such… Read More »

You have been given a series 1/1! + 2/2! + 3/3! + 4/4! +…….+ n/n!, find out the sum of the series till nth term.… Read More »

This approach is based on Wilson’s theorem and using the fact that factorial computation can be done easily using DP Wilson theorem says if a… Read More »

Given a number ‘n’ and a prime number ‘p’. We need to find out the power of ‘p’ in prime factorization of n! Examples: Input… Read More »

We are aware of calculating factorials using loops or recursion, but if we are asked to calculate factorial without using any loop or recursion. Yes,… Read More »

A Krishnamurthy number is a number whose sum of the factorial of digits is equal to the number itself. For example 145, sum of factorial… Read More »

Given an integer n, we need to find a range of positive integers such that all the number in that range are composite and length… Read More »