# Tag Archives: Numbers

## QA – Placement Quizzes | Numbers, LCM and HCF | Question 6

What must be subtracted from the greatest five digit number so as to find the greatest five digit number divisible by 23 ? (A) 22… Read More »

## QA – Placement Quizzes | Numbers, LCM and HCF | Question 5

What should be assigned to # so that 2582#724 is divisible by 11 ? (A) 4 (B) 5 (C) 6 (D) 7 Answer: (C) Explanation:… Read More »

## QA – Placement Quizzes | Numbers, LCM and HCF | Question 4

What is the total number of prime factors in the expression 1212 x 1616 x 1818 ? (A) 46 (B) 154 (C) 3456 (D) 2… Read More »

## QA – Placement Quizzes | Numbers, LCM and HCF | Question 3

What is the unit’s digit in the product (267)153 x (66666)72 ? (A) 7 (B) 6 (C) 1 (D) 2 Answer: (D) Explanation: We have… Read More »

## QA – Placement Quizzes | Numbers, LCM and HCF | Question 2

Which of the following are prime numbers ? (A) 147 (B) 327 (C) 547 (D) 637 Answer: (C) Explanation: (i) 147 132 = 169 >… Read More »

## QA – Placement Quizzes | Numbers, LCM and HCF | Question 1

What could be the maximum value of Y in the following equation given that neither of X, Y, Z is zero? 5X8 + 3Y4 +… Read More »

## Find all divisors of a natural number | Set 2

Given a natural number n, print all distinct divisors of it. Examples: Input : n = 10 Output: 1 2 5 10 Input: n =… Read More »

## Find all divisors of a natural number | Set 1

Given a natural number n, print all distinct divisors of it. Examples : Input : n = 10 Output: 1 2 5 10 Input: n… Read More »

## Euler’s Totient Function

Euler’s Totient function ?(n) for an input n is count of numbers in {1, 2, 3, …, n} that are relatively prime to n, i.e.,… Read More »

## Find the smallest number whose digits multiply to a given number n

Given a number ‘n’, find the smallest number ‘p’ such that if we multiply all digits of ‘p’, we get ‘n’. The result ‘p’ should… Read More »

## Maximum and minimum of an array using minimum number of comparisons

Write a C function to return minimum and maximum in an array. You program should make minimum number of comparisons. Recommended: Please solve it on… Read More »