login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A106002 a(n)=1 if there is a number of the form 6k+3 such that prime(n) < 6k+3 < prime(n+1), otherwise 0. 2
0, 0, 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, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Except for first two primes and twin primes, there is always at least one number of the form 6k+3 between two successive primes.

LINKS

Table of n, a(n) for n=1..105.

EXAMPLE

a(3)=0 because between prime(3)=5 and prime(4)=7 there are no numbers of the form 6k+3;

a(4)=1 because between prime(4)=7 and prime(5)=11 there is 9=6*1+3.

CROSSREFS

Same as A100810 after first term.

Sequence in context: A174898 A099618 A324883 * A252742 A066247 A151774

Adjacent sequences:  A105999 A106000 A106001 * A106003 A106004 A106005

KEYWORD

easy,nonn

AUTHOR

Giovanni Teofilatto, Apr 29 2005

EXTENSIONS

Edited 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 19:39 EST 2020. Contains 331153 sequences. (Running on oeis4.)