OFFSET
1,1
COMMENTS
Isolated primes are primes that are not twin prime members.
LINKS
Cino Hilliard, Sum Isolated Primes. [broken link]
Cino Hilliard, Gcc code. [broken link]
Cino Hilliard, Sum of Isolated primes, message 38 in seqfun Yahoo group, providing code for gcc (needs formatting to become compilable), Jun 5, 2007. [Cached copy]
EXAMPLE
The sum of the isolated primes < 100 = 2+23+37+47+53+67+79+83+89+97 = 577, the second term of this sequence.
PROG
(PARI) isoprimes(n) = { local(j, s, x); for(j=1, n, s=0; forprime(x=2, 10^j, if(!isprime(x-2)&&!isprime(x+2), s+=x) ); print1(s", ") ) }
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Cino Hilliard, Jun 08 2007
EXTENSIONS
a(13)-a(14) from Amiram Eldar, Jul 02 2024
STATUS
approved