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!)
A214450 Smallest prime p such that n primes exist between the prime triple (p, p+2, p+6) and the next prime triple. 1
5, 857, 311, 17, 31391, 3461, 1427, 12917, 1997, 4517, 41, 20747, 107, 1871, 1487, 4637, 2081, 347, 7877, 23057, 80777, 1091, 18041, 641, 461, 5231, 21017, 881, 4967, 45821, 1607, 15731, 165311, 17027, 35591, 26261, 11777, 8537, 64151, 101111, 82757, 23741 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
EXAMPLE
a(3)= 17 because there exists 3 primes 29, 31 and 37 are between (17, 19,23) and (41,43,47).
MAPLE
A214450 := proc(n)
local j, hi, lo ;
if n = 0 then
3;
else
for j from 1 do
hi := numtheory[pi]( A022004 (j+1)) ;
lo := numtheory[pi]( A098412 (j)) ;
if hi-lo = n+1 then
return A022004 (j);
end if;
end do:
end if;
end proc: # [Program from R. J. Mathar, adapted for this sequence (see A089637)].
CROSSREFS
Sequence in context: A300038 A060713 A198402 * A332185 A085706 A190350
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jul 18 2012
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 July 22 07:42 EDT 2024. Contains 374481 sequences. (Running on oeis4.)