The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A114754 Smallest prime of the form: n successive positive integers in ascending order followed by a 1. 8
11, 10111, 1231, 67891, 9101112131, 3456781, 91011121314151, 45678910111, 1234567891, 303132333435363738391, 12345678910111, 939495969798991001011021031041, 91011121314151617181920211 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(2) = 10111= 10 followed by 11 followed by 1.
a(3) = 1231, three successive positive integers 1,2,3 in ascending order followed by a 1.
MATHEMATICA
a[n_]:=(For[m=1, (v={}; Do[v=Join[v, IntegerDigits[k]], {k, m, m+n-1}]); !PrimeQ[10FromDigits[v]+1], m++ ]; 10FromDigits[v]+1); Table[a[n], {n, 14}] - Farideh Firoozbakht
f[n_] := Block[{t = Range@n}, While[p = FromDigits@Flatten@IntegerDigits@Join[t, {1}]; !PrimeQ@p, t++ ]; p]; Array[f, 13] (* Robert G. Wilson v *)
CROSSREFS
Sequence in context: A267054 A082265 A161761 * A157709 A267815 A121520
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Jan 01 2006
EXTENSIONS
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 June 1 15:30 EDT 2024. Contains 373025 sequences. (Running on oeis4.)