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!)
 A158939 First primes followed by sequences of exactly n monotonic increasing prime gaps. 4
 3, 2, 17, 347, 2903, 15373, 128981, 1319407, 17797517, 94097537, 6927837557, 48486712783, 968068681511, 1472840004017, 129001208165717 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS For n > 1, a(n) is the prime preceding A229832(n-1). [Follows from the definitions] - Chris Boyd, Mar 28 2015 LINKS Carlos Rivera, Puzzle 11. Distinct, Increasing & Decreasing Gaps, The Prime Puzzles and Problems Connection. EXAMPLE a(8)=1319407 is the first prime to be followed by n=8 monotonic increasing prime gaps: 4,8,10,14,16,18,32,34. a(14)=1472840004017 is the first prime to be followed by n=14 monotonic increasing prime gaps: 2,4,6,8,10,12,14,28,30,38,48,64,66,74. PROG (PARI) is(p, k, g=0)=my(q=nextprime(p+1)); if(g>=q-p, 0, if(k>1, is(q, k-1, q-p), q-p>=nextprime(q+1)-q)) a(n)=forprime(p=2, , if(is(p, n), return(p))) \\ Charles R Greathouse IV, Nov 02 2012 CROSSREFS Cf. A158940 (monotonic decreasing prime gaps), A229832. Sequence in context: A189731 A342140 A126354 * A173795 A249769 A026345 Adjacent sequences:  A158936 A158937 A158938 * A158940 A158941 A158942 KEYWORD more,nonn AUTHOR Alan Worley (aw(AT)xiboo.co.uk), Mar 31 2009 EXTENSIONS a(15) from Giovanni Resta, Apr 19 2016 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 24 14:45 EDT 2021. Contains 346273 sequences. (Running on oeis4.)