login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A055575
Sum of digits of n^4 is equal to n.
10
0, 1, 7, 22, 25, 28, 36
OFFSET
1,3
EXAMPLE
7 is a member because 7^4 = 2401 and 2+4+0+1 = 7.
MATHEMATICA
Select[Range[0, 50], #==Total[IntegerDigits[#^4]] &] (* Vincenzo Librandi, Feb 23 2015 *)
PROG
(Magma) [n: n in [0..50] | &+Intseq(n^4) eq n ]; // Vincenzo Librandi, Feb 23 2015
(Sage) [n for n in (0..50) if sum((n^4).digits()) == n] # Bruno Berselli, Feb 23 2015
(PARI) isok(k)=sumdigits(k^4)==k \\ Patrick De Geest, Dec 10 2024
CROSSREFS
KEYWORD
base,fini,full,nonn
AUTHOR
Henry Bottomley, May 26 2000
STATUS
approved