Quick links: C-Tricks HR Interview Que. Code Snippets C Programs C++ Programs Java Programs PHP Examples

Home » Puzzles

Puzzle 10) Himanshu and its four- Digit Number

Submitted by Amit Shukla, on August 09, 2017

Puzzle

Himanshu is interested in solving logical and mathematical problems. One day he got a problem in which he has to find out the greatest number of four digits that when the number is divided by any of the numbers 6, 9, 12, 17 leaves a reminder 1. Now himanshu needs your help to find the greatest four- digit number which satisfy above condition.


Important points of puzzle:

  1. Himanshu got a problem in which he has to find out the greatest four- digit number.
  2. There is a condition that when the number is divided by 6, 9, 12, 17 it eaves reminder 1.
  3. Now you have to find out the greatest four- digit numberwhich satisfies the above condition.

Answer

The correct answer is 9793.


Reason

The lowest common multiple (LCM) of the four numbers 6, 9, 12, and 17 is 612. The highest four- digits number which would be a common multiple of all these four numbers is 9793. Hence, the correct answer is 9793.



Sponsored Links






COMMENTS