login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A029944
a(n)^2 contains n-th prime as a substring.
4
5, 6, 5, 24, 34, 37, 42, 14, 48, 23, 56, 61, 21, 66, 69, 73, 77, 19, 26, 131, 86, 89, 94, 17, 176, 318, 321, 226, 331, 337, 113, 146, 371, 118, 339, 123, 397, 128, 409, 416, 134, 426, 438, 44, 346, 447, 46, 473, 472, 479, 483, 352, 79, 501, 507, 513, 519
OFFSET
1,1
EXAMPLE
E.g. 34^2 = 1156 is first square that contains the string "11".
MATHEMATICA
With[{e = 2}, Table[Function[p, k = 1; While[Length@ SequencePosition[ IntegerDigits[Set[c, k^e]], p] == 0, k++]; c]@ IntegerDigits@ Prime@ n, {n, 57}] ^(1/e)] (* Michael De Vlieger, May 04 2017, Version 10.1 *)
CROSSREFS
Sequence in context: A011258 A217177 A157339 * A362582 A197494 A334381
KEYWORD
nonn,base
STATUS
approved