OFFSET
1,3
COMMENTS
Cube and ending square may be equal.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MAPLE
q:= n-> (s-> ormap(x-> issqr(parse(x)),
[s[i..-1]$i=1..length(s)]))(""||n):
select(q, [i^3$i=0..120])[]; # Alois P. Heinz, Mar 16 2020
MATHEMATICA
eisQ[n_]:=AnyTrue[NestWhileList[FromDigits[Rest[IntegerDigits[ #]]]&, n, #> 9&], IntegerQ[ Sqrt[ #]]&]; Select[Range[0, 70]^3, eisQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 04 2020 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Oct 11 2008
STATUS
approved