(Translated by https://www.hiragana.jp/)
A107679 - OEIS
login
A107679
Numbers n such that sum of digits of n^3 is 2^3 = 8.
5
2, 5, 8, 11, 20, 50, 80, 101, 110, 200, 500, 800, 1001, 1010, 1100, 2000, 5000, 8000, 10001, 10010, 10100, 11000, 20000, 50000, 80000, 100001, 100010, 100100, 101000, 110000, 200000, 500000, 800000, 1000001, 1000010, 1000100, 1001000, 1010000, 1100000
OFFSET
1,1
LINKS
MATHEMATICA
Do[If[Total[IntegerDigits[m^3]]==8, Print[m]], {m, 2*10^7}] (* Vincenzo Librandi, Aug 13 2017 *)
PROG
(PARI) isok(n) = sumdigits(n^3) == 8; \\ Michel Marcus, Aug 12 2017
(Magma) [ n: n in [1..2*10^6] | 8 eq (&+Intseq(n^3)) ]; // Vincenzo Librandi, Aug 13 2017
CROSSREFS
Cf. A004164 (sum of digits of cubes), A067075, A159462, A159463.
Sequence in context: A154484 A129300 A347839 * A018846 A261578 A264613
KEYWORD
easy,nonn,base
AUTHOR
Zak Seidov, Jun 10 2005
EXTENSIONS
More terms from Michel Marcus, Oct 09 2013
STATUS
approved