OFFSET
1,1
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..10000
EXAMPLE
47 + 53 = 100 = 10^2, so 100 is a member of this sequence.
MATHEMATICA
Select[Total/@Partition[Prime[Range[13100]], 2, 1], GCD@@FactorInteger[#][[All, 2]]>1&] (* Harvey P. Dale, Jan 22 2019 *)
PROG
(PARI) for(n=1, 10^5, q=prime(n)+prime(n+1); if(ispower(q), print1(q, ", ")))
(PARI) m=10^8; v=[]; forstep(b=2, sqrt(m), 2, forprime(p=2, 40, n=b^p; if(n>m, break); if(n==precprime(n/2)+nextprime(n/2+1), v=concat(v, n)))); v=vecsort(v) \\ Faster program. Jens Kruse Andersen, Jul 20 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Derek Orr, Jul 18 2014
STATUS
approved