login
A219957
Numbers expressible as 2*p + 3*q exactly in two ways, where p and q are primes (not necessarily distinct).
4
19, 25, 31, 35, 37, 49, 53, 59, 65, 85, 89
OFFSET
1,1
EXAMPLE
89 = 2*37 + 3*5 = 2*19 + 3*17.
MATHEMATICA
mx = 1000; s = Table[0, {mx}]; Do[a = 2 Prime[i] + 3 Prime[k]; s[[a]]++, {k, PrimePi[(mx - 4)/3]}, {i, PrimePi[(mx - 3 Prime[k])/2]}]; Flatten@Position[s, 2]
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Zak Seidov, Dec 02 2012
STATUS
approved