OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Sexy Primes. [The definition in this webpage is unsatisfactory, because it defines a "sexy prime" as a pair of primes.- N. J. A. Sloane, Mar 07 2021].
MAPLE
p:=1: q:= 0: r:= 1: s:= 1: count:= 0: Res:= NULL:
while count < 100 do
t:= charfcn[{true}](isprime(p+6));
if t=1 and q=1 then
count:= count + 1;
Res:= Res, r+s;
fi;
p:= p+2;
q:= r; r:= s; s:= t;
od:
Res; # Robert Israel, Jun 23 2019
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Mar 31 2005
EXTENSIONS
Corrected and extended by Robert Israel, Jun 23 2019
STATUS
approved