cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A234470 Number of ways to write n = k + m with k > 0 and m > 2 such that p(k + phi(m)/2) is prime, where p(.) is the partition function (A000041) and phi(.) is Euler's totient function.

This page as a plain text file.
%I A234470 #15 Apr 05 2014 22:29:05
%S A234470 0,0,0,1,2,3,4,5,5,4,4,4,2,2,3,5,4,2,4,2,3,2,3,2,3,1,0,3,1,1,2,1,2,0,
%T A234470 1,2,1,1,4,2,1,4,2,1,2,3,3,3,1,0,4,2,4,1,1,2,2,3,2,2,0,2,2,1,2,2,1,1,
%U A234470 2,2,4,2,1,0,1,3,1,0,2,4,3,1,6,2,2,1,2,4,3,1,2,6,2,3,2,2,2,2,3,3
%N A234470 Number of ways to write n = k + m with k > 0 and m > 2 such that p(k + phi(m)/2) is prime, where p(.) is the partition function (A000041) and phi(.) is Euler's totient function.
%C A234470 Conjecture: a(n) > 0 if n > 3 is not among 27, 34, 50, 61, 74, 78, 115, 120, 123, 127.
%C A234470 This implies that there are infinitely many primes in the range of the partition function p(n).
%H A234470 Zhi-Wei Sun, <a href="/A234470/b234470.txt">Table of n, a(n) for n = 1..6500</a>
%H A234470 Z.-W. Sun, <a href="http://arxiv.org/abs/1402.6641">Problems on combinatorial properties of primes</a>, arXiv:1402.6641, 2014
%e A234470 a(26) = 1 since 26 = 2 + 24 with p(2 + phi(24)/2) = p(6) = 11 prime.
%e A234470 a(54) = 1 since 54 = 27 + 27 with p(27 + phi(27)/2) = p(36) = 17977 prime.
%e A234470 a(73) = 1 since 73 = 1 + 72 with p(1 + phi(72)/2) = p(36) = 17977 prime.
%e A234470 a(110) = 1 since 110 = 65 + 45 with p(65 + phi(45)/2) = p(77) = 10619863 prime.
%e A234470 a(150) = 1 since 150 = 123 + 27 with p(123 + phi(27)/2) = p(132) = 6620830889 prime.
%e A234470 a(170) = 1 since 170 = 167 + 3 with p(167 + phi(3)/2) = p(168) = 228204732751 prime.
%t A234470 f[n_,k_]:=PartitionsP[k+EulerPhi[n-k]/2]
%t A234470 a[n_]:=Sum[If[PrimeQ[f[n,k]],1,0],{k,1,n-3}]
%t A234470 Table[a[n],{n,1,100}]
%Y A234470 Cf. A000010, A000040, A000041, A049575, A232504, A233307, A233346, A233918, A234200, A234246, A234309, A234337, A234344, A234347, A234359, A234360, A234451, A234475
%K A234470 nonn
%O A234470 1,5
%A A234470 _Zhi-Wei Sun_, Dec 26 2013