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

Home > Numbers
N and N^5 (Posted on 2023-09-19) Difficulty: 3 of 5
Determine as many positive integers, N, not ending in 0, as you can, such that N^5 contains two copies of N.

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 solution | Comment 1 of 2
{9, 99, 999, 9999, ... } appears to be the solution set.

For example, 999^5 = 995009990004999
-------------------------
for i in (range(1,100000000)):
    if i%10 == 0:
        continue
    s = str(i)
    c = str(i**5)
    if c.count(str(i)) >=2:
        print(i,i**5)
  Posted by Larry on 2023-09-19 12:06:33
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 (6)
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