login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..50

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: A226817 A154484 A129300 * A018846 A261578 A264613

Adjacent sequences:  A107676 A107677 A107678 * A107680 A107681 A107682

KEYWORD

easy,nonn,base

AUTHOR

Zak Seidov, Jun 10 2005

EXTENSIONS

More terms from Michel Marcus, Oct 09 2013

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 25 03:50 EDT 2019. Contains 321450 sequences. (Running on oeis4.)