login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A220188
Number of representations of n-th prime as 2p + 3q (p, q primes not necessarily distinct).
1
0, 0, 0, 0, 0, 1, 0, 2, 1, 1, 2, 2, 1, 4, 3, 2, 2, 4, 4, 3, 4, 4, 4, 2, 5, 3, 5, 4, 3, 3, 6, 4, 4, 5, 4, 7, 5, 6, 6, 6, 5, 6, 5, 6, 6, 6, 7, 9, 8, 7, 6, 6, 7, 7, 6, 9, 5, 10, 7, 5, 9, 6, 9, 7, 10, 8, 10, 8, 10, 10, 8, 7, 10, 8, 7, 9, 6, 10, 8, 8, 9, 10, 10, 10
OFFSET
1,8
COMMENTS
For n>7 a(n)>0.
MATHEMATICA
s={}; Do[mx = Prime[k]; c = 0; Do[p = Prime[k]; If[PrimeQ[q = (mx - 3 p)/2] , c++], {k, PrimePi[(mx - 4)/3]}]; AppendTo[s, c], {k, 200}]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Dec 07 2012
STATUS
approved