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!)
A258141 Number of ways to write n as p^2 + q with p, q and 2*p + 3 all prime. 6
0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 2, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 2, 1, 0, 2, 0, 2, 1, 0, 0, 1, 0, 2, 1, 0, 1, 2, 0, 2, 0, 0, 1, 2, 0, 0, 1, 0, 1, 2, 0, 1, 0, 0, 1, 1, 0, 2, 1, 0, 0, 1, 0, 2, 1, 0, 0, 2, 0, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,27
COMMENTS
Conjecture: For any integer n > 0, we have a(n+r) > 0 for some r = 0,1,2,3,4,5.
We have verified this for n up to 10^8. See also A258139 for a weaker version of this conjecture.
The conjecture is somewhat similar to Goldbach's Conjecture. It implies that there are infinitely many primes p with 2*p + 3 prime.
LINKS
EXAMPLE
a(11) = 1 since 11 = 2^2 + 7 with 2, 7 and 2*2 + 3 all prime.
MATHEMATICA
Do[r=0; Do[If[PrimeQ[2Prime[k]+3]&&PrimeQ[n-Prime[k]^2], r=r+1], {k, 1, PrimePi[Sqrt[n]]}]; Print[n, " ", r]; Continue, {n, 1, 100}]
CROSSREFS
Sequence in context: A368457 A073368 A321756 * A037889 A339872 A280269
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, May 22 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 April 24 05:23 EDT 2024. Contains 371918 sequences. (Running on oeis4.)