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.

A236439 a(n) = |{0 < k < n-2: A000009(m)^2 + A047967(m)^2 is prime with m = k + phi(n-k)/2}|, where phi(.) is Euler's totient function.

This page as a plain text file.
%I A236439 #11 Apr 06 2014 10:47:57
%S A236439 0,0,0,1,2,3,3,2,2,2,1,1,1,1,2,2,1,1,4,2,3,2,3,5,4,3,2,6,6,4,2,1,8,4,
%T A236439 4,3,1,6,4,3,3,3,3,3,4,4,5,3,4,5,3,3,7,4,5,5,5,11,7,6,3,7,8,6,5,5,8,6,
%U A236439 7,11,7,5,7,8,7,7,5,10,10,5,6,8,6,10,8,6,8,11,10,6,10,7,7,9,4,9,11,8,13,7
%N A236439 a(n) = |{0 < k < n-2: A000009(m)^2 + A047967(m)^2 is prime with m = k + phi(n-k)/2}|, where phi(.) is Euler's totient function.
%C A236439 Conjecture: a(n) > 0 for all n > 3.
%C A236439 We have verified this for n up to 50000.
%C A236439 The conjecture implies that there are infinitely many positive integers m with A000009(m)^2 + A047967(m)^2 prime. See A236440 for such numbers m.
%H A236439 Zhi-Wei Sun, <a href="/A236439/b236439.txt">Table of n, a(n) for n = 1..10000</a>
%H A236439 Z.-W. Sun, <a href="http://arxiv.org/abs/1402.6641">Problems on combinatorial properties of primes</a>, arXiv:1402.6641, 2014
%e A236439 a(14) = 1 since 2 + phi(12)/2 = 4 with A000009(4)^2 + A047967(4)^2 = 2^2 + 3^2 = 13 prime.
%e A236439 a(17) = 1 since 10 + phi(7)/2 = 13 with A000009(13)^2 + A047967(13)^2 = 18^2 + 83^2 = 7213 prime.
%t A236439 p[n_]:=PrimeQ[PartitionsQ[n]^2+(PartitionsP[n]-PartitionsQ[n])^2]
%t A236439 a[n_]:=Sum[If[p[k+EulerPhi[n-k]/2],1,0],{k,1,n-3}]
%t A236439 Table[a[n],{n,1,100}]
%Y A236439 Cf. A000009, A000010, A000040, A047967, A236412, A236417, A236419, A236440.
%K A236439 nonn
%O A236439 1,5
%A A236439 _Zhi-Wei Sun_, Jan 25 2014