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!)
A238881 Number of odd primes p < 2*n with prime(n*(p+1)/2) + n*(p+1)/2 prime. 3
0, 1, 1, 0, 0, 2, 1, 3, 1, 2, 2, 5, 2, 3, 2, 4, 3, 5, 2, 3, 2, 4, 1, 8, 4, 4, 4, 3, 2, 5, 2, 4, 4, 4, 4, 8, 2, 4, 2, 5, 4, 6, 3, 2, 6, 6, 3, 11, 6, 10, 4, 8, 2, 11, 4, 7, 4, 7, 2, 12, 4, 6, 2, 6, 3, 8, 3, 5, 8, 12, 6, 12, 4, 15, 8, 11, 5, 12, 2, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
Conjecture: (i) a(n) > 0 for all n > 5, and a(n) = 1 only for n = 2, 3, 7, 9, 23. Moreover, for any r = 1,-1 and n > 5*(2+r) there is a positive integer k < n such that 2*k+r and prime(k*n)+k*n are both prime.
(ii) If n > 1 is not equal to 13, then prime(k*n) - k*n is prime for some k = 1, ..., n.
This conjecture implies that there are infinitely many positive integers m with prime(m) + m (or prime(m) - m) prime.
REFERENCES
Zhi-Wei Sun, Problems on combinatorial properties of primes, in: M. Kaneko, S. Kanemitsu and J. Liu (eds.), Number Theory: Plowing and Starring through High Wave Forms, Proc. 7th China-Japan Seminar (Fukuoka, Oct. 28--Nov. 1, 2013), Ser. Number Theory Appl., Vol. 11, World Sci., Singapore, 2015, pp. 169--187. (See Conjecture 3.21(i) and note that the typo 2k+1 there should be 2k-1.)
LINKS
Zhi-Wei Sun, Problems on combinatorial properties of primes, arXiv:1402.6641 [math.NT], 2014.
EXAMPLE
a(7) = 1 since 11 and prime(7*(11+1)/2) + 7*(11+1)/2 = prime(42) + 42 = 181 + 42 = 223 are both prime.
a(23) = 1 since 7 and prime(23*(7+1)/2) + 23*(7+1)/2 = prime(92) + 92 = 479 + 92 = 571 are both prime.
MATHEMATICA
PQ[n_]:=PrimeQ[Prime[n]+n]
p[k_, n_]:=PQ[(Prime[k]+1)/2*n]
a[n_]:=Sum[If[p[k, n], 1, 0], {k, 2, PrimePi[2n-1]}]
Table[a[n], {n, 1, 80}]
PROG
(PARI) a(n) = {my(nb = 0); forprime(p=3, 2*n, if (isprime(prime(n*(p+1)/2) + n*(p+1)/2), nb++); ); nb; } \\ Michel Marcus, Sep 21 2015
CROSSREFS
Sequence in context: A101691 A349445 A205379 * A070094 A344227 A325521
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Mar 06 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 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)