OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
1296 = 36^2 belongs to the sequence as removing 2 yields 196 = 14^2. 1444 = 38^2 belongs to the sequence as removing 4 yields 144 = 12^2.
MATHEMATICA
srsQ[n_]:=AnyTrue[FromDigits/@Table[Drop[IntegerDigits[n], {i}], {i, IntegerLength[ n]}], IntegerQ[Sqrt[#]]&]; Select[Range[200]^2, srsQ] (* The program uses the AnyTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jul 16 2016 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved