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

Home > Numbers
Remainder Reckoning (Posted on 2024-02-15) Difficulty: 1 of 5
When the positive integer N is divided by 17, the remainder is four times as much as when N is divided by 13.

Find the least possible value that N could represent.

No Solution Yet Submitted by Danish Ahmed Khan    
Rating: 4.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 1 of 3
The least possible value of N is 29.

clearvars,clc
for n=1:500
  r1=mod(n,17);
  r2=mod(n,13);
  if r1==4*r2
    disp([n r1 r2])
  end
end

finds

    N    r17   r12

    29    12     3
    93     8     2
   157     4     1
   186    16     4
   221     0     0
   250    12     3
   314     8     2
   378     4     1
   407    16     4
   442     0     0
   471    12     3


  Posted by Charlie on 2024-02-15 10:39:10
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 (8)
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