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!)
A237815 Number of primes p < n such that the number of Sophie Germain primes among 1, ..., n-p is a Sophie Germain prime. 5
0, 0, 0, 0, 1, 2, 2, 3, 3, 4, 4, 4, 3, 3, 3, 3, 3, 2, 2, 3, 3, 3, 3, 2, 3, 5, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 4, 4, 5, 5, 3, 3, 4, 4, 3, 3, 3, 3, 4, 4, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 3, 3, 4, 4, 3, 3, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
Conjecture: (i) a(n) > 0 for all n > 4.
(ii) For any integer n > 11, there is a prime p < n such that the number of Sophie Germain primes among 1, ..., n-p is a square.
See also A237817 for a similar conjecture involving twin primes.
LINKS
Z.-W. Sun, Problems on combinatorial properties of primes, arXiv:1402.6641, 2014
EXAMPLE
a(5) = 1 since there are exactly two Sophie Germain primes not exceeding 5-2 = 3, and 2 is a Sophie Germain prime.
MATHEMATICA
sg[n_]:=PrimeQ[n]&&PrimeQ[2n+1]
sum[n_]:=Sum[If[PrimeQ[2Prime[k]+1], 1, 0], {k, 1, PrimePi[n]}]
a[n_]:=Sum[If[sg[sum[n-Prime[k]]], 1, 0], {k, 1, PrimePi[n-1]}]
Table[a[n], {n, 1, 80}]
CROSSREFS
Sequence in context: A035486 A282347 A172397 * A238701 A238134 A143489
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Feb 13 2014
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 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)