|
|
A064209
|
|
Numbers k whose sum of digits exceeds the sum of the digits of k^3.
|
|
5
|
|
|
587, 5870, 28847, 28885, 28887, 46877, 48784, 49468, 49639, 49868, 58700, 67687, 79969, 228981, 235856, 288470, 288850, 288870, 467878, 468770, 484887, 487840, 494680, 496390, 498680, 587000, 594587, 676870, 677758, 685767, 736968, 798969
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Select[ Range[ 10^6 ], Apply[ Plus, IntegerDigits[ # ] ] > Apply[ Plus, IntegerDigits[ #^3 ] ] & ]
|
|
PROG
|
(PARI) SumD(x)= { local(s); s=0; while (x>9, s+=x-10*(x\10); x\=10); return(s + x) } { n=0; for (m=1, 10^9, if (SumD(m) > SumD(m^3), write("b064209.txt", n++, " ", m); if (n==90, break)) ) } \\ Harry J. Smith, Sep 10 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|