OFFSET
0,14
COMMENTS
LINKS
Michel Lagneau, Table of n, a(n) for n = 0..10000
EXAMPLE
a(14) = 2 because 29 = 5+8*3 = 13+8*2 with 2 decompositions.
a(23) = 3 because 47 = 7+8*5 = 23+8*3 = 31+8*2 with 3 decompositions.
MATHEMATICA
a[n_] := (ways = 0; Do[p = 2k + 1; q = (n-k)/4; If[PrimeQ[p] && PrimeQ[q], ways++], {k, 1, n}]; ways); Table[a[n], {n, 0, 90}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, May 09 2013
STATUS
approved