OFFSET
0,3
COMMENTS
"Containment" implies here that the digits of n are consecutive digits in the square; see A091873 for a relaxed alternative. [R. J. Mathar, Dec 09 2008]
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..10000
MATHEMATICA
Table[ i=0; While[ StringPosition[ ToString[ i^2 ], ToString[ n ] ]=={}, i++ ]; i, {n, 0, 80} ]
ssn[n_]:=Module[{k=0}, While[SequenceCount[IntegerDigits[k^2], IntegerDigits[n]]==0, k++]; k]; Array[ssn, 80, 0] (* Harvey P. Dale, Oct 23 2025 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
STATUS
approved
