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!)
A306995 Number of primes q < prime(n), such that 2*prime(n) + q is prime. 2
0, 0, 1, 2, 1, 3, 3, 2, 2, 2, 3, 3, 3, 5, 6, 4, 3, 5, 7, 3, 6, 5, 6, 6, 7, 5, 5, 8, 6, 7, 8, 5, 9, 9, 4, 8, 8, 12, 8, 10, 8, 9, 11, 10, 10, 10, 8, 10, 12, 9, 10, 10, 11, 11, 9, 10, 11, 13, 15, 11, 12, 13, 14, 11, 16, 15, 11, 13, 10, 15, 14, 12, 13, 16, 16, 13, 17, 15, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

COMMENTS

Conjecture: a(n) > 0 for all n >= 3. - Dmitry Kamenetsky, Mar 18 2019

LINKS

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

FORMULA

a(n) = A071127(prime(n)). - Michel Marcus, Mar 19 2019

EXAMPLE

2*7 + 3 = 17 and 2*7 + 5 = 19 are prime. Hence a(4) = 2.

PROG

(PARI) a(n) = my(s=0, p=prime(n)); forprime(i=1, p-1, s += isprime(2*p+i)); s; \\ Michel Marcus, Mar 19 2019

CROSSREFS

Cf. A071127, A306996, A306997.

Sequence in context: A241534 A035050 A198790 * A212907 A308584 A046819

Adjacent sequences:  A306992 A306993 A306994 * A306996 A306997 A306998

KEYWORD

nonn

AUTHOR

Dmitry Kamenetsky, Mar 18 2019

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 23 22:16 EST 2020. Contains 331177 sequences. (Running on oeis4.)