Given a and b which represents the location of two factors of N whose product is equal to the number N when the factors are… Read More

# Tag Archives: Numbers

Given N‘, the number of non-parallel lines. The task is to find the maximum number of regions in which these lines can divide a plane.… Read More

Given three integers N, K and L. The task is to find the average of the first K digits and the last L digits of… Read More

Given an array arr[] of size N. The task is to find the sum of the digits of all array elements which contains even number… Read More

Given a ratio a : b of two unknown numbers. When both the numbers are incremented by a given integer x, the ratio becomes c… Read More

Given an integer N. The task is to count the numbers of pairs of integers A and B such that A + B + N… Read More

Given an array arr[] of size N( > 2). The task is to find the maximum sum of digits of the product of any two… Read More

The task is to find the triangle of numbers arising from Gilbreath’s conjecture. Gilbreath’s conjecture: It is observed that given a sequence of prime numbers, a sequence… Read More

Euler Zigzag numbers is a sequence of integers which is a number of arrangements of those numbers so that each entry is alternately greater or… Read More

M. Nambiar has devised a mechanism to process any given number and thus generating a new resultant number. He calls this mechanism as the “Nambiar… Read More

Given a non-negative integer N, the task is to find two integers A (greatest integer smaller than N) and (smallest integer greater than N) such… Read More

Fermat numbers are non-negative odd numbers which is valid for all values of k>=0. Only the first seven terms of the sequence are known till… Read More

Given an array A of size N (> 2). The task is to find the maximum value of A[i] / A[j] Note: A[i] ≠ 0.… Read More

Given an array arr of size N and an integer X. The task is to find all the indices of the integer X in the… Read More

Given an unsigned integer N. The task is to reverse all bytes of N without using a temporary variable and print the reversed number. Examples:… Read More