C C++ Java Data Structure Python JavaScript CSS Ajax PL/SQL PHP Puzzles C programs C++ programs Java programs

Home » Puzzles

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:

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.

C, C++, Java, D.S., Python, .Net, SQL, PL/SQL, Ajax, PHP, JavaScript, CSS, HTML, C programs, C++ programs, Java programs, C# programs, DS programs, C aptitude, C++ aptitude, Java aptitude, DBMS aptitude, O.S., Networking, Embedded systems, Nanotechnologies, Linux, DOS, puzzles, syntaxes,