OFFSET
1,12
COMMENTS
For n > 11, a(n) > 0. - Geoffrey Critzer, Jan 31 2015
Last occurrence of n is a(A014092(n+4)). - Anthony Browne, May 25 2016
LINKS
J. Stauduhar, Table of n, a(n) for n = 1..10000
FORMULA
a(A014092(n+4)) = n. - Anthony Browne, May 25 2016
EXAMPLE
For n=8, in the set {{7,1},{6,2},{5,3},{4,4}}, {4,4} is the only partition {a,b} where a and b are both composite, so a(8)=1.
For n=12, we have partitions {8,4} and {6,6}, so a(12)=2.
MATHEMATICA
nn = 76; Rest[Transpose[CoefficientList[Series[Product[1/(1 - y x^i), {i, Select[Range[2, nn], ! PrimeQ[#] &]}], {x, 0, nn}], {x, y}]][[3]]] (* Geoffrey Critzer, Jan 31 2015 *)
f[n_] := Count[ PrimeQ@ Rest@ IntegerPartitions[ n, {2}], {False, False}]; Array[f, 76] (* Robert G. Wilson v, Feb 04 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
J. Stauduhar, Apr 16 2013
STATUS
approved