OFFSET
1,3
COMMENTS
If k is in the sequence, then so are k*10^r, with r >= 1.
EXAMPLE
MATHEMATICA
digSum[n_] := Total[IntegerDigits[n]^2]; Select[Range[0, 310000], digSum[#] == digSum[#^3] &] (* Amiram Eldar, Aug 22 2019 *)
PROG
(PARI) for(i = 0, 400000, if(norml2(digits(i^3)) == norml2(digits(i)), print1(i, ", ")))
(Magma) [0] cat [k:k in [1..310000]| &+[c^2: c in Intseq(k)] eq &+[c^2: c in Intseq(k^3)]]; // Marius A. Burtea, Aug 26 2019
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antonio Roldán, Aug 21 2019
STATUS
approved