OFFSET
1,1
EXAMPLE
2256 is in this sequence because 225 and 256 are both squares.
PROG
(Python)
from math import isqrt
def ok(n): s = str(n); return len(s)>=3 and all((x:=int(s[i:i+3]))>0 and isqrt(x)**2==x for i in range(len(s)-2))
print([k for k in range(10**6) if ok(k)]) # Michael S. Branicky, Dec 14 2023
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Gonzalo MartÃnez, Dec 14 2023
STATUS
approved