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.

A224710 The number of unordered partitions {a,b} of 2n-1 such that a and b are composite.

This page as a plain text file.
%I A224710 #29 Jun 16 2016 07:24:13
%S A224710 0,0,0,0,0,0,1,1,1,2,2,2,3,3,4,5,5,5,6,7,7,8,8,8,9,9,10,11,11,12,13,
%T A224710 13,13,14,15,15,16,16,16,17,18,18,19,19,20,21,21,22,23,24,24,25,25,25,
%U A224710 26,26,26,27,27,28,29,30,31,32,33,33,34,34,35,36,36
%N A224710 The number of unordered partitions {a,b} of 2n-1 such that a and b are composite.
%C A224710 Except for the initial terms, the same sequence as A210469.
%H A224710 J. Stauduhar, <a href="/A224710/b224710.txt">Table of n, a(n) for n = 1..10000</a>
%F A224710 a(n) = n - 2 - primepi(2n-4) for n>1. - _Anthony Browne_, May 03 2016
%F A224710 a(A104275(n+2) + 1) = n. - _Anthony Browne_, May 25 2016
%e A224710 n=7: 13 has a unique representation as the sum of two composite numbers, namely 13 = 4+9, so a(7)=1.
%t A224710 Table[Length@ Select[IntegerPartitions[2 n - 1, {2}] /. n_Integer /; ! CompositeQ@ n -> Nothing, Length@ # == 2 &], {n, 71}] (* Version 10.2, or *)
%t A224710 Table[If[n == 1, 0, n - 2 - PrimePi[2 n - 4]], {n, 71}] (* _Michael De Vlieger_, May 03 2016 *)
%Y A224710 Subsequence of A224708. Cf. A210469.
%K A224710 nonn
%O A224710 1,10
%A A224710 _J. Stauduhar_, Apr 16 2013