login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A342552
The number of twin primes between prime(i)*prime(i+1) and prime(i+1)*prime(i+2) where prime(i) and prime(i+1) are twin primes.
1
2, 3, 4, 3, 5, 6, 9, 11, 8, 12, 24, 19, 34, 14, 27, 14, 28, 17, 46, 26, 24, 55, 28, 14, 86, 50, 38, 66, 28, 67, 76, 41, 64, 40, 43, 93, 53, 87, 67, 48, 89, 66, 42, 72, 69, 76, 49, 76, 42, 49, 59, 73, 260, 109, 145, 169, 70, 137, 193, 292
OFFSET
1,1
PROG
(PARI) {for(n=1, 200, if(prime(n+1)-prime(n)==2, my(a=prime(n)*prime(n+1), b=prime(n+1)*prime(n+2), c=0); for(m=a, b, if(isprime(m)==1&&isprime(m+2)==1, c=c+1)); print1(c, ", ")))}
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved