OFFSET
1,1
COMMENTS
Given the n-th fourth power, it is occasionally possible to form the (n+1)-th fourth power using the same digits in a different order.
"Anagram" means that both fourth powers must not only use the same digits but must use each digit the same number of times.
EXAMPLE
256 and 625 are two successive fourth powers.
MAPLE
with(numtheory):for n from 1 to 2000000 do:p1:=n^4:p2:= (n+1)^4:pp1:=convert(p1, base, 10): pp2:=convert(p2, base, 10):n1:=sort(pp1):n2:=sort(pp2): if n1=n2 then printf(`%d, `, p1):else fi:od:
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Aug 12 2013
STATUS
approved