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

Home > Numbers
Eighth Powers (Posted on 2023-11-04) Difficulty: 3 of 5
Find two consecutive integers, A and B, with B=A+1, such that the decimal digits of A^8 are a permutation of the decimal digits of B^8.
(One example is A=5474857, B=5474858.)

Find additional examples.

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.)
Some Thoughts a few more | Comment 1 of 3
Here are the first two solutions,
the first was given in the statement of the problem.
So this is only one additional example:
A=5474857, B=5474858
A=19224157, B=19224158

ans = []
prior = sorted(str(2**8))
for n in range(3,100000000):
    new = sorted(str(n**8))
    if new == prior:
        ans.append([n-1,n])
        print(n-1,n)
    prior = new

Edited on November 4, 2023, 10:34 am
  Posted by Larry on 2023-11-04 10:31:42

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 (3)
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