The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A105469 Number of numbers of the form 6k+3 with prime(n) <= 6k+3 < prime(n+1). 0
0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 2, 1, 1, 0, 2, 0, 1, 1, 1, 1, 1, 0, 2, 0, 1, 0, 2, 2, 1, 0, 1, 1, 0, 2, 1, 1, 1, 0, 1, 1, 0, 2, 2, 1, 0, 1, 2, 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 2, 0, 1, 1, 1, 1, 1, 0, 1, 2, 1, 1, 1, 1, 1, 2, 0, 3, 1, 2, 1, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,30
LINKS
EXAMPLE
a(4)=1 because between prime(4)=7 and prime(5)=11 there is one number of the form 6k+3: 9.
MATHEMATICA
f[n_] := Count[Table[Mod[k, 6], {k, Prime[n], Prime[n + 1] - 1}], 3]; Table[f[n], {n, 120}] (* Ray Chandler, Oct 17 2006 *)
CROSSREFS
Sequence in context: A168261 A180997 A143439 * A257857 A339871 A276806
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, May 02 2005
EXTENSIONS
Corrected and extended by Ray Chandler, Oct 17 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 11:40 EDT 2024. Contains 372532 sequences. (Running on oeis4.)