OFFSET
1,5
LINKS
J. Stauduhar, Table of n, a(n) for n = 1..5000
EXAMPLE
For n = 5, prime(5) = 11. The pairwise partitions of 11 are {{10, 1}, {9, 2}, {8, 3}, {7, 4}, {6, 5}} and four partitions meet the requirements: {9, 2}, {8, 3}, {7, 4}, {6, 5}, so a(5) = 4.
MATHEMATICA
nn = 100; mx = Prime[nn]; ps = Prime[Range[nn]]; notPs = Complement[Range[2, mx], ps]; t2 = Table[0, {Range[mx]}]; Do[s = i + j; If[s <= mx, t2[[s]]++], {i, ps}, {j, notPs}]; t2[[ps]] (* T. D. Noe, Apr 23 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
J. Stauduhar, Apr 22 2013
STATUS
approved