[go: up one dir, main page]

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!)
A280009 Orders of consecutive clusters of Chen primes. 2
13, 3, 2, 2, 1, 8, 1, 1, 3, 3, 1, 2, 4, 1, 3, 1, 2, 2, 1, 1, 3, 1, 2, 1, 8, 1, 6, 1, 1, 2, 3, 2, 1, 1, 2, 2, 5, 3, 1, 3, 1, 2, 4, 4, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 3, 1, 1, 2, 5, 1, 3, 3, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Length /@ DeleteCases[Split@ Table[Boole@ And[# != 1, PrimeOmega@ # <= 2] &[# + 2] &@ Prime@ n, {n, 300}], k_ /; Total@ k == 0] (* Michael De Vlieger, Feb 27 2017 *)
PROG
(PARI) do(lim)=my(v=List(), u=v, r, s=1); forprime(p=2, lim\2, forprime(q=2, min(lim\p, p), listput(u, p*q))); u=Set(u); r=3; forprime(p=5, lim, if(p-r==2 || setsearch(u, r+2), s++, if(s, listput(v, s); s=0)); r=p); u=0; Vec(v) \\ Charles R Greathouse IV, Feb 27 2017
CROSSREFS
Cf. A109611.
Sequence in context: A114457 A010220 A104818 * A117540 A010221 A113172
KEYWORD
nonn
AUTHOR
Enrique Navarrete, Feb 21 2017
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 August 30 04:38 EDT 2024. Contains 375526 sequences. (Running on oeis4.)