This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A290647 #27 Dec 21 2022 14:30:51 %S A290647 1,4,9,22,40,62,88,83,27,190,14,322,397,478,565,658,757,37,299,1090, %T A290647 323,86,777,141,660,124,783,1325,443,2590,479,2986,3246,3514,3790, %U A290647 4074,4366,4666,346,5290,394,5946,6286,6634,6990,3541,7261,8106,3851,8890,3931,9706,10126,5408,9012,4345,8865,981,4283,13290,4379 %N A290647 a(n) is the position of first occurrence of n^2 in the concatenation of the positive integers in decimal representation. %H A290647 Michael S. Branicky, <a href="/A290647/b290647.txt">Table of n, a(n) for n = 1..10000</a> (terms 1..1000 from Zhining Yang) %e A290647 s = 123456789101112131415161718192021222324252627282930313233343536... . %e A290647 a(4) = 22 because the first occurrence of 4^2 = 16 in s starts at the 22nd digit. %t A290647 t = ""; k = 0; Table[ While[(z = StringPosition[t, ToString[n^2], 1]) == {}, t = t <> ToString[++k]]; z[[1, 1]], {n, 61}] (* _Giovanni Resta_, Aug 11 2017 *) %t A290647 Module[{nn=15000,s},s=Flatten[IntegerDigits/@Range[nn]];Flatten[Table[ SequencePosition[s,IntegerDigits[n^2],1],{n,70}],1]][[All,1]] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Jul 05 2021 *) %o A290647 (VBA) %o A290647 Sub test() %o A290647 Dim i&, t$ %o A290647 For i = 1 To 10000 %o A290647 t = t & i %o A290647 Next %o A290647 For i = 1 To 100 %o A290647 Debug.Print InStr(t, i ^ 2); ","; %o A290647 Next %o A290647 End Sub %Y A290647 Cf. A031297, A290787. %K A290647 nonn,look,base %O A290647 1,2 %A A290647 _Zhining Yang_, Aug 08 2017