Edited by N. J. A. Sloane at the suggestion of _Andrew S. Plewe_, Jul 14 2007
Edited by N. J. A. Sloane at the suggestion of _Andrew S. Plewe_, Jul 14 2007
proposed
approved
editing
proposed
Michael De Vlieger, <a href="/A103274/b103274.txt">Table of n, a(n) for n = 1..1000</a>
Table[Function[q, Length@ Select[#, Function[s, And[Length@ s == 2, Length@ First@ s == 1, MemberQ[Last@ , 2], Length@ Last@ s == 2]]] &@ Map[SortBy[Flatten[FactorInteger[#] /. {{p_, e_} /; e > 1 :> ConstantArray[p, e], {p_, 1} /; p > 1 :> p, {1, 1} -> 1}] & /@ #, Length] &, Select[IntegerPartitions[q, {2}], And[! MemberQ[#, 1], Total@ Boole@ PrimeQ@ # == 1] &]]]@ Prime@ n, {n, 89}] (* Michael De Vlieger, May 01 2017 *)
approved
editing
_Yasutoshi Kohmoto (zbi74583(AT)boat.zero.ad.jp), _, Jan 27 2005
editing
approved
Edited by N. J. A. Sloane at the suggestion of _Andrew Plewe, _, Jul 14 2007
approved
editing
editing
approved
Marnell conjectures that a(n) > 0 for n > 3. I find no exceptions below 10^9. [From _- _Charles R Greathouse IV_, May 04 2010]
Geoffrey R. Marnell, "Ten Prime Conjectures", Journal of Recreational Mathematics 33:3 (2004-2005), pp. 193-196. [From _Charles R Greathouse IV_, May 04 2010]
(PARI) a(n, q=prime(n))=my(s); forprime(p=2, q\2-1, if(isprime(q-2*p), s++)); s \\ Charles R Greathouse IV, Jul 22 2015
approved
editing
a(n) = A046926(prime(n)). - _David Wasserman (dwasserm(AT)earthlink.net), _, Oct 08 2005
More terms from _David Wasserman (dwasserm(AT)earthlink.net), _, Oct 08 2005