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

Home > Numbers
Three digits (Posted on 2023-01-10) Difficulty: 3 of 5
XYZ is a 3-digit number. If you multiply it by 2 ten times, then you will get a number that only uses the digits X, Y, and Z. Find all possible values of XYZ.

No Solution Yet Submitted by Math Man    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 3 of 4 |
431 441344
436 446464
523 535552
650 665600
862 882688

---------
f = 2**10
all_values = []
num3digits = []
for i in range(100,1000):
    digits1 = sorted(list(set(str(i))))
    digits2 = sorted(list(set(str(i*1024))))
    if set(digits2).issubset(set(digits1)):
        num3digits.append(i)
        if digits1 not in all_values:
            all_values.append(digits1)
        print(i, i*1024)

  Posted by Larry on 2023-01-12 11:13:26
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 (5)
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