login
A070276
Numbers n such that sum of digits of n equals the sum of digits of n^3.
9
0, 1, 8, 10, 80, 100, 171, 378, 468, 487, 577, 585, 586, 684, 800, 1000, 1710, 3780, 4680, 4870, 4877, 5770, 5850, 5851, 5860, 5868, 6840, 8000, 10000, 15877, 17100, 28845, 37800, 46800, 48700, 48770, 57700, 58500, 58510, 58600, 58680, 58968, 59777
OFFSET
1,3
LINKS
MATHEMATICA
Select[Range[0, 60000], Total[IntegerDigits[#]]==Total[IntegerDigits[ #^3]]&] (* Harvey P. Dale, May 10 2012 *)
PROG
(PARI) isok(n) = sumdigits(n) == sumdigits(n^3); \\ Michel Marcus, Aug 12 2017
CROSSREFS
Sequence in context: A289664 A321881 A204324 * A002286 A256877 A222299
KEYWORD
easy,nonn,base
AUTHOR
Benoit Cloitre, May 09 2002
STATUS
approved