The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 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 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 LINKS Harvey P. Dale, Table of n, a(n) for n = 1..100 MAPLE P:=proc(n) local i, k, w, x; for i from 0 by 1 to n do w:=0; k:=i; while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; x:=0; k:=i^3; while k>0 do x:=x+k-(trunc(k/10)*10); k:=trunc(k/10); od; if x=w then print(i); fi; od; end: P(10000); # Paolo P. Lava, Nov 30 2007 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 Cf. A007953, A004164. Sequence in context: A289664 A321881 A204324 * A002286 A256877 A222299 Adjacent sequences:  A070273 A070274 A070275 * A070277 A070278 A070279 KEYWORD easy,nonn,base AUTHOR Benoit Cloitre, May 09 2002 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 17 06:16 EDT 2021. Contains 347478 sequences. (Running on oeis4.)