## Check if a M-th fibonacci number divides N-th fibonacci number

Given two numbers M and N, the task is to check if the M-th and N-th Fibonacci numbers perfectly divide each other or not. Examples:… Read More »

Given two numbers M and N, the task is to check if the M-th and N-th Fibonacci numbers perfectly divide each other or not. Examples:… Read More »

Given an integer n, find whether n is a Polydivisible or not. In mathematics, a number is called Polydivisible if it follows some unique properties.… Read More »

Given an array of length N that contains only integers, the task is to print the special numbers of array. A number in this array… Read More »

Given the integer N, the task is to print all the numbers less than N, which are divisible by 3 and 5. Examples : Input… Read More »

Given an array, count pairs in the array such that one element of pair divides other. Examples: Input : arr[] = {1, 2, 3} Output… Read More »

A number which consists entirely repeated number of times one is said to be Repeated Unit. We shall define R(k) of length k repeated unit… Read More »

Given a number, check whether it is even or odd. Examples : Input: n = 11 Output: Odd Input: n = 10 Output: Even Recommended:… Read More »

Given a sequence of non-negative integers, say a1, a2, …, an. Only following actions can be performed on the given sequence: Subtract 1 from a[i]… Read More »

Consider a very long K-digit number N with digits d0, d1, …, dK-1 (in decimal notation; d0 is the most significant and dK-1 the least… Read More »

Given a number n, check it is the Almost Perfect number or not. Almost perfect number is a natural number whose sum of all divisors… Read More »

Given an array of N integers, using ‘+’ and ‘-‘ between the elements check if there is a way to form a sequence of numbers… Read More »

Given n and a number, the task is to find the sum of n digit numbers that are divisible by given number. Examples: Input :… Read More »

Given number of digit n and a number, the task is to count all the numbers which are divisible by that number and having n… Read More »

Given a large number n, find if the number is divisible by 29. Examples : Input : 363927598 Output : No Input : 292929002929 Output… Read More »

Given an array of n-positive integers and a positive integer k, find a set of exactly m-elements such that difference of any two element is… Read More »