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

Home > Numbers
Permuted digit division (Posted on 2025-01-20) Difficulty: 3 of 5
Find the digits a, b, and c of the two six digit numbers abcabc and ababab, given that
abcabc    55
------ =  --
ababab    54

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution brute force | Comment 1 of 3
clearvars
idx=combinator(10,3,'p');
digs='0123456789';
abcs=digs(idx);
for i=1:length(abcs)
  abc=str2double(abcs(i,:));
  abcabc=1001*abc;
  if abc>99
    ab=str2double(abcs(i,1:2));
    ababab=10101*ab;
    if 54*abcabc==55*ababab
      disp(abc)
    end
  end
end


finds

abc = 185

  Posted by Charlie on 2025-01-20 09:30:00
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
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 - 2025 by Animus Pactum Consulting. All rights reserved. Privacy Information