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!)
A341532 The number of even prime gaps g, satisfying g == 4 (mod 6), out of the first 2^n even prime gaps. 8
0, 0, 1, 3, 5, 11, 22, 41, 83, 169, 319, 627, 1223, 2445, 4868, 9638, 19118, 37967, 75256, 149528, 297561, 592031, 1178762, 2348333, 4679404, 9326903, 18596997, 37086109, 73967841, 147557809, 294406741, 587477778, 1172420817, 2340067090, 4671002562 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
It seems that the fraction of prime gaps g, satisfying g == 4 (mod 6), tends to a constant, say c, when the number of prime gaps tends to infinity. From n = 28 we obtain that c < 0.276, while it can be argued heuristically that c > 0.25.
LINKS
FORMULA
a(n) = 2^n - A340948(n) - A341531(n).
PROG
(PARI) a(n) = my(vp=primes(2^n+2)); #select(x->((x%6)==4), vector(#vp-1, k, vp[k+1]-vp[k])); \\ Michel Marcus, Feb 16 2021
CROSSREFS
Sequence in context: A283818 A352006 A004039 * A293338 A168655 A005830
KEYWORD
nonn
AUTHOR
A.H.M. Smeets, Feb 13 2021
EXTENSIONS
a(29) and beyond from Martin Ehrenstein, Mar 01 2021
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 April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)