OFFSET
1,5
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..1000
EXAMPLE
No solutions for 2,3,5;
7=2*2+3, 11=2*2+7=2*3+5=3*3+2, 13=2*3+7=2*5+3, 17=2*2+13=2*3+11=2*5+7=2*7+3=3*5+2,
19=2*3+13, 23=2*2+19=2*3+17=2*5+13=3*7+2, 29=2*3+23=2*5+19=2*11+7=2*13+3,
31=2*7+17=2*13+5, ...
MATHEMATICA
Table[Function[q, Length@ DeleteCases[#, s_ /; Length@s != 3] &@ Map[Flatten[ FactorInteger[#] /. {{p_, e_} /; p > 1 :> ConstantArray[p, e], {1, 1} -> 1}] &, Select[IntegerPartitions[q, {2}], And[! MemberQ[#, 1], Total@ Boole@ PrimeQ@ # == 1] &]]]@ Prime@ n, {n, 89}] (* Michael De Vlieger, May 01 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 10 2005
EXTENSIONS
More terms from Reinhard Zumkeller, Sep 22 2005
STATUS
approved