OFFSET
0,8
LINKS
Michel Lagneau, Table of n, a(n) for n = 0..10000
EXAMPLE
a(15) = 4 because 31 = 23 + 4*2 = 19 + 4*3 = 11 + 4*5 = 3 + 4*7 with 4 decompositions.
MATHEMATICA
a[n_] := (ways = 0; Do[p = 2k + 1; q = (n-k)/2; If[PrimeQ[p] && PrimeQ[q], ways++], {k, 1, n}]; ways); Table[a[n], {n, 0, 91}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Apr 11 2013
EXTENSIONS
Name corrected by Zak Seidov, Apr 14 2013
STATUS
approved