+ 3

Math quiz challenge v1

A, B, C and D are four natural number (the integers are not less than zero). A divided by B is 5 and remains 5, A devided by C is 6 and remains 6, A devided by D is 7 and remains 7. What are A, B, C and D? Please choose the programing language and post the code. Oh, I found someone completed the quiz. But the answer is tricky. Their codes are based on that A divided by B is 5 and remains 5, so A divided by 5 remains 5 and A can divided by 5 remains nothing. Therefore, A can be divided by 5, 6 and 7, so

13th Jul 2017, 2:31 AM
Dustin Chen
Dustin Chen - avatar
5 Answers
+ 1
My code https://code.sololearn.com/cMbJBhkNSx53/?ref=app Your question is similar to https://www.sololearn.com/discuss/543010/?ref=app , I posted there a similar code
29th Jul 2017, 2:03 PM
You
+ 13
Least Possible Values : 210, 41, 34, 29 https://code.sololearn.com/WUmHv8Bivkel/?ref=app
12th Jul 2017, 5:20 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 2
keep challenging
13th Jul 2017, 3:20 AM
‎ ‏‏‎Anonymous Guy
0
here is mine... printing 1st 100 values of A,B,C,D https://code.sololearn.com/cXkFvkXnzEjX/?ref=app
6th Aug 2017, 1:52 AM
sayan chandra
sayan chandra - avatar
- 1
version 2... ANOTHER APPROACH## https://code.sololearn.com/caz6I5y0gcFa/?ref=app
6th Aug 2017, 4:20 AM
sayan chandra
sayan chandra - avatar