OFFSET
1,2
FORMULA
EXAMPLE
1 is in the sequence because the 1st primes of the forms 6*k-1 and 6*k+1(6*1-1=5 and 6*1+1=7, respectively) are a pair of twin primes;
2 is in the sequence because the 2nd primes (6*2-1=11 and 6*2+1=13) are a pair of twin primes;
3 is in the sequence because the 3rd primes (6*3-1=17 and 6*3+1=19) are a pair of twin primes;
6 is in the sequence because the 6th primes (6*7-1=41 and 6*7+1=43) are a pair of twin primes;
24 is in the sequence because the 24th primes (6*38-1=227 and 6*38+1=229) are a pair of twin primes.
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Dec 16 2009
EXTENSIONS
a(4) and a(5) corrected and a(6) removed by R. J. Mathar, Jun 07 2010
STATUS
approved