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!)
A238576 Number of odd primes p < 2*n with prime(n*(p-1)/2)^2 - 2 prime. 5
0, 1, 2, 3, 2, 3, 1, 4, 3, 2, 2, 4, 2, 2, 2, 3, 2, 2, 4, 5, 2, 2, 1, 8, 2, 2, 3, 3, 2, 2, 4, 4, 5, 6, 2, 5, 4, 3, 3, 7, 2, 2, 8, 8, 5, 4, 6, 3, 3, 7, 6, 5, 3, 3, 9, 4, 8, 3, 5, 3, 1, 5, 6, 4, 6, 7, 7, 8, 6, 6, 2, 7, 1, 5, 9, 7, 5, 6, 5, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Conjecture: (i) a(n) > 0 for all n > 1, and a(n) = 1 only for n = 2, 7, 23, 61, 73.
(ii) For any integer n > 1, there is an odd prime p < 2*n with prime(n*(p+1)/2)^2 - 2 prime.
Clearly, either part of the conjecture implies that there are infinitely many primes of the form p^2 - 2 with p prime.
LINKS
Zhi-Wei Sun, Problems on combinatorial properties of primes, arXiv:1402.6641, 2014.
EXAMPLE
a(2) = 1 since 2 and prime(2*(3-1)/2)^2 - 2 = 3^2 - 2 = 7 are both prime.
a(7) = 1 since 5 and prime(7*(5-1)/2)^2 - 2 = 43^2 - 2 = 1847 are both prime.
a(23) = 1 since 29 and prime(23*(29-1)/2)^2 - 2 = 2137^2 - 2 = 4566767 are both prime.
a(61) = 1 since 43 and prime(61*(43-1)/2)^2 - 2 = 10463^2 - 2 = 109474367 are both prime.
a(73) = 1 since 7 and prime(73*(7-1)/2)^2 - 2 = 1367^2 - 2 = 1868687 are both prime.
MATHEMATICA
p[k_, n_]:=PrimeQ[Prime[(Prime[k]-1)/2*n]^2-2]
a[n_]:=Sum[If[p[k, n], 1, 0], {k, 2, PrimePi[2n-1]}]
Table[a[n], {n, 1, 80}]
CROSSREFS
Sequence in context: A202495 A353297 A103431 * A239238 A125928 A114388
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Mar 01 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 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)