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”).

A069965
(Sum of digits of n)^5 - (sum of digits^5 of n).
0
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 210, 780, 2100, 4650, 9030, 15960, 26280, 40950, 0, 210, 960, 2850, 6720, 13650, 24960, 42210, 67200, 101970, 0, 780, 2850, 7290, 15540, 29400, 51030, 82950, 128040, 189540, 0, 2100, 6720, 15540, 30720, 54900
OFFSET
0,12
COMMENTS
a(n) = 0 iff n is a single-digit number or is a power of ten times a single-digit number.
MATHEMATICA
f[n_] := Plus @@ IntegerDigits[n]^5 - Plus @@ (IntegerDigits[n]^5); Table[ f[n], {n, 0, 100}]
CROSSREFS
Sequence in context: A129499 A286763 A347828 * A215627 A178672 A061661
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved