All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General
Year Yearn 2 (Posted on 2014-12-11) Difficulty: 3 of 5
The year 2014 when divided by 24 yields a quotient of 83 and a remainder of 22. The number 83 when divided by 7 yields a quotient of 11 and a remainder of 6. So, the number 2014 when successively divided by 24 and 7 yields the respective remainders of 22 and 6.

Which year comes next that yields the respective remainders of 22 and 6 upon successive divisions by 24 and 7? Which year before 2014 has this property?

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution between 1000 and 3000 -- computer solution | Comment 2 of 4 |
1006
1174
1342
1510
1678
1846
2014
2182
2350
2518
2686
2854

from

 For y = 1000 To 3000
   q1 = Int(y / 24)
   r1 = y - 24 * q1
   If r1 = 22 Then
     q2 = Int(q1 / 7)
     r2 = q1 - 7 * q2
     If r2 = 6 Then
       Text1.Text = Text1.Text & y & crlf
     End If
   End If
 Next


  Posted by Charlie on 2014-12-11 08:48:22
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (14)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information