OFFSET
1,1
COMMENTS
a(27) > 6*10^14. - Giovanni Resta, Jun 14 2013
LINKS
Carlos Rivera, Puzzle 692 - Consecutive prime gaps biprimes, The Prime Puzzles & Problems Connection.
EXAMPLE
The fifth entry is 109 because it is the least prime to begin a string of primes 109, 113, 127, 131, 137 having four semiprimes as differences between the consecutive primes: the consecutive semiprime differences are 4, 14, 4, 6.
PROG
(PARI) issemi(n)=bigomega(n)==2
back(p, n)=for(i=1, n, p=precprime(p-1)); p
r=t=1; v=vector(100); v[1]=p=2; forprime(q=3, 1e11, if(issemi(q-p), t++, if(t>=r && v[t]==0, v[t]=back(p, t-1); print(t" "v[t]); while(v[r], r++)); t=1); p=q) \\ Charles R Greathouse IV, Mar 01 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Charles R Greathouse IV, Apr 25 2013
EXTENSIONS
a(16)-a(23) from Donovan Johnson, Apr 28 2013
a(24)-a(26) from Giovanni Resta, Jun 14 2013
STATUS
approved