login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A263404 Smallest square containing the first n primes as substrings. 0
25, 324, 3025, 35721, 11730625, 71132356, 1132591716, 17136119025, 1923311317225, 58191311792329, 58191311792329, 231372178511929, 1722376411319529, 1134152319174379129, 472643754131992311729, 17298113195343723473641, 419723711317595314724329, 4319231361106417537475929 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The sequence is infinite.

LINKS

Table of n, a(n) for n=1..18.

EXAMPLE

a(6) = 71132356 = 8464^2 contains 2, 3, 5, 7, 11 and 13 as substrings and no smaller square has that property.

MATHEMATICA

Do[k = 1; While[! AllTrue[Prime@ Range@ n, StringContainsQ[ToString[k^2], ToString@ #] &], k++]; Print[k^2], {n, 9}] (* Michael De Vlieger, Oct 19 2015, Version 10 *)

CROSSREFS

Cf. A054261, A069600.

Sequence in context: A161525 A161932 A162367 * A077503 A262054 A020275

Adjacent sequences:  A263401 A263402 A263403 * A263405 A263406 A263407

KEYWORD

nonn,base

AUTHOR

Emmanuel Vantieghem, Oct 17 2015

EXTENSIONS

a(15)-a(16) from Bert Dobbelaere, Oct 28 2018

a(17)-a(18) from Giovanni Resta, Aug 27 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 05:51 EDT 2019. Contains 327212 sequences. (Running on oeis4.)