OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..160
EXAMPLE
171 is in the sequence because 171^3 = 5000211 and 2*171 = 342 have the same digit sum: 9.
MATHEMATICA
Select[Range[0, 7 10^5], Total[IntegerDigits[2 #]] == Total[IntegerDigits[#^3]] &]
PROG
(Magma) [n: n in [0..2*10^6] | &+Intseq(2*n) eq &+Intseq(n^3)];
(PARI) isok(n) = sumdigits(2*n)==sumdigits(n^3); \\ Michel Marcus, Jan 02 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Jan 01 2016
STATUS
approved