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!)
A239232 a(n) = |{0 < k <= n: p(n+k) + 1 is prime}|, where p(.) is the partition function (A000041). 2

%I #8 Mar 13 2014 11:15:36

%S 1,0,0,1,3,3,3,2,1,1,1,1,2,4,4,4,4,4,3,4,4,4,4,4,4,3,2,2,2,3,3,3,3,3,

%T 4,4,4,4,4,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,3,4,5,5,4,4,4,4,4,4,5,5,6,6,

%U 7,6,6,6,6,7,8,8,9,9,9,10

%N a(n) = |{0 < k <= n: p(n+k) + 1 is prime}|, where p(.) is the partition function (A000041).

%C Conjecture: (i) a(n) > 0 for all n > 3.

%C (ii) If n > 15, then p(n+k) - 1 is prime for some k = 1, ..., n.

%C (iii) If n > 38, then p(n+k) is prime for some k = 1, ..., n.

%C The conjecture implies that there are infinitely many positive integers m with p(m) + 1 (or p(m) - 1, or p(m)) prime.

%H Zhi-Wei Sun, <a href="/A239232/b239232.txt">Table of n, a(n) for n = 1..10000</a>

%H Zhi-Wei Sun, <a href="http://arxiv.org/abs/1402.6641">Problems on combinatorial properties of primes</a>, arXiv:1402.6641, 2014.

%e a(4) = 1 since p(4+4) + 1 = 22 + 1 = 23 is prime.

%e a(8) = 2 since p(8+1) + 1 = 31 and p(8+2) + 1 = 43 are both prime.

%e a(11) = 1 since p(11+8) + 1 = 491 is prime.

%t p[n_]:=PartitionsP[n]

%t a[n_]:=Sum[If[PrimeQ[p[n+k]+1],1,0],{k,1,n}]

%t Table[a[n],{n,1,80}]

%Y Cf. A000040, A000041, A049575, A234470, A234569, A238393, A238457, A238509, A238516, A239207, A239209, A239214.

%K nonn

%O 1,5

%A _Zhi-Wei Sun_, Mar 13 2014

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 16 17:00 EDT 2024. Contains 371749 sequences. (Running on oeis4.)