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!)
A261627 Number of primes p such that n-(p*n'-1) and n+(p*n'-1) are both prime, where n' is 1 or 2 according as n is odd or even. 5
0, 0, 0, 0, 1, 0, 1, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 3, 1, 2, 2, 4, 2, 3, 2, 2, 1, 2, 2, 3, 1, 3, 2, 2, 3, 3, 3, 3, 3, 3, 1, 4, 1, 3, 2, 3, 4, 4, 3, 3, 2, 4, 3, 6, 2, 3, 2, 2, 3, 5, 3, 4, 4, 4, 2, 5, 4, 6, 1, 4, 2, 4, 3, 5, 4, 3, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
COMMENTS
Conjecture: a(n) > 0 for all n > 6, and a(n) = 1 only for n = 5, 7, 10, 11, 12, 19, 22, 30, 34, 44, 46, 72, 142.
This is stronger than Goldbach's conjecture (A002375) and Lemoine's conjecture (A046927).
I have verified the conjecture for n up to 10^8.
Verified for n up to 10^9. - Mauro Fiorentini, Jul 05 2023
Conjecture verified for n < 1.2 * 10^12. - Jud McCranie, Aug 26 2023
LINKS
Zhi-Wei Sun, Conjectures involving primes and quadratic forms, arXiv:1211.1588 [math.NT], 2012-2015.
EXAMPLE
a(19) = 1 since 13, 19-(13-1) = 7 and 19+(13-1) = 31 are all prime.
a(142) = 1 since 41, 142-(2*41-1) = 61 and 142+(2*41-1) = 223 are all prime.
MATHEMATICA
Do[r=0; Do[If[PrimeQ[n-(3+(-1)^n)/2*Prime[k]+1]&&PrimeQ[n+(3+(-1)^n)/2*Prime[k]-1], r=r+1], {k, 1, PrimePi[2n/(3+(-1)^n)]}]; Print[n, " ", r]; Continue, {n, 1, 80}]
CROSSREFS
Sequence in context: A201208 A006513 A105224 * A237112 A238013 A303940
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Aug 27 2015
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 17 12:26 EDT 2024. Contains 372600 sequences. (Running on oeis4.)