The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A114756 Smallest prime of the form: n successive positive integers in ascending order followed by a 7. 7
 17, 127, 1237, 12347, 123457, 56789107, 456789107, 3456789107, 4567891011127, 616263646566676869707, 13141516171819202122237, 2021222324252627282930317, 151617181920212223242526277 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE a(4) = 12347, four successive positive integers 1,2,3,4 in ascending order followed by a 7. MATHEMATICA a[n_]:=(For[m=1, (v={}; Do[v=Join[v, IntegerDigits[k]], {k, m, m+n-1}]); !PrimeQ[10FromDigits[v]+7], m++ ]; 10FromDigits[v]+7); Table[a[n], {n, 14}] - Farideh Firoozbakht f[n_] := Block[{t = Range@n}, While[p = FromDigits@Flatten@IntegerDigits@Join[t, {7}]; !PrimeQ@p, t++ ]; p]; Array[f, 14] (* Robert G. Wilson v *) CROSSREFS Cf. A114754, A114755, A114757, A114758, A114759, A112716, A108145. Sequence in context: A142613 A066453 A298838 * A336186 A159563 A341397 Adjacent sequences:  A114753 A114754 A114755 * A114757 A114758 A114759 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.

Last modified July 25 03:53 EDT 2021. Contains 346283 sequences. (Running on oeis4.)