OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=216 is a term because 216 + 2^3 + 1^3 + 6^3 = 441 = 21^2.
MAPLE
filter:= proc(n) local t;
issqr( n + add(t^3, t=convert(n, base, 10)));
end proc:
select(filter, [$1..10000]);
PROG
(Magma) [k:k in [1..8000]|IsSquare(k+&+[c^3: c in Intseq(k)])]; // Marius A. Burtea, Nov 12 2019
(PARI) A055012(n)=sum(i=1, #n=digits(n), n[i]^3)
is(n)=issquare(n + A055012(n)) \\ Charles R Greathouse IV, Jun 10 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Will Gosnell and Robert Israel, Nov 12 2019
STATUS
approved