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

Home > Numbers
Quick divisibility (Posted on 2020-10-20) Difficulty: 2 of 5
Find all possible digits x, y, z such that the number 13xy45z is divisible by 792.

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

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution the computer method | Comment 2 of 3 |
basis=1300450;
for x=0:9
    b1=basis+10000*x;
    for y=0:9
        b2=b1+1000*y;
        for z=0:9
            n=b2+z;
            if mod(n,792)==0
                fprintf('%2d %2d %2d   %8d %7d \n',x,y,z,n,n/792)
            end
        end
    end
end

finds only

 x  y  z       n      n/792
 8  0  6    1380456    1743 

  Posted by Charlie on 2020-10-20 09:33:54
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 (4)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

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