login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

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

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

Cf. A113513, A114755, A114756, A114757, A114758, A114759, A112716, A108145.

Sequence in context: A267054 A082265 A161761 * A157709 A267815 A121520

Adjacent sequences:  A114751 A114752 A114753 * A114755 A114756 A114757

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy, Jan 01 2006

EXTENSIONS

Extended by Robert G. Wilson v, Ray Chandler and Farideh Firoozbakht, Jan 02 2006

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 July 23 22:13 EDT 2021. Contains 346265 sequences. (Running on oeis4.)