login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A052077 Smallest prime formed by concatenating n consecutive increasing numbers, or 0 if no such prime exists. 7
2, 23, 0, 4567, 1516171819, 0, 78910111213, 23456789, 0, 45678910111213, 129130131132133134135136137138139, 0, 567891011121314151617, 5051525354555657585960616263, 0, 128129130131132133134135136137138139140141142143 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Starting numbers in concatenations are given by A052079.
LINKS
C. Rivera, Prime Puzzle 78.
MATHEMATICA
f[n_] := If[Mod[n, 3] == 0, 0, Block[{k = 1}, While[d = FromDigits@ Flatten@ IntegerDigits[ Range[k, k + n - 1]]; !PrimeQ@ d, k++]; d]]; Array[f, 16] (* Robert G. Wilson v, Jun 29 2012 *)
CROSSREFS
Sequence in context: A053952 A343263 A261198 * A124604 A329336 A323396
KEYWORD
nonn,base,nice
AUTHOR
Patrick De Geest, Jan 15 2000
EXTENSIONS
Terms a(7)-a(15) are calculated by Carlos Rivera and Felice Russo
a(16) from Max Alekseyev, Jan 31 2010
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 14:32 EDT 2024. Contains 371960 sequences. (Running on oeis4.)