[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A341861
Number of primes among the (p-1)/2 numbers {2*p+1, 4*p+1, ..., (p-1)*p+1}, p = prime(n).
2
1, 1, 2, 3, 4, 3, 2, 4, 4, 3, 4, 5, 7, 8, 5, 8, 7, 9, 9, 10, 11, 11, 12, 12, 14, 13, 13, 12, 15, 14, 14, 17, 15, 19, 18, 12, 19, 13, 19, 20, 22, 20, 24, 21, 15, 21, 21, 23, 25, 26, 23, 26, 26, 19, 23, 27, 24, 29, 27, 26, 28, 31, 29, 30, 25, 30, 30, 34, 31, 29, 35
OFFSET
2,3
COMMENTS
By Dirichlet's theorem on arithmetic progressions, we know there exists a prime q of the form 2*k*p+1. But the theorem does not give us any information about the size of the smallest q. It is conjectured that q < p^2. Moreover, it seems that a(n) goes to infinity as n increases.
LINKS
EXAMPLE
Let P denote the set of prime numbers. Then:
a(8) = #({39, 77, 115, 153, 191, 229, 267, 305, 343} intersect P) = #{191, 229} = 2.
a(11) = #({63, 125, 187, 249, 311, 373, 435, 497, 559, 621, 683, 745, 807, 869, 931} intersect P) = #{311, 373, 683} = 3.
PROG
(PARI) a(n) = my(p=prime(n)); sum(k=1, (p-1)/2, isprime(2*k*p+1))
CROSSREFS
Cf. A070846.
Sequence in context: A255480 A356014 A309859 * A303597 A251102 A111880
KEYWORD
nonn
AUTHOR
Jianing Song, Feb 21 2021
STATUS
approved