OFFSET
1,2
COMMENTS
The idea is to consider 2-bit words, where the least resp. most significant bit correspond to primality of the respective member in the couple (6n-1,6n-5). (It might have been more natural to inverse the correspondences, i.e. to associate the LSB to the smaller number of the pair.) - M. F. Hasler, Jun 16 2008
PROG
(PARI) a(n)=isprime(6*n-5)<<1+isprime(6*n-1) \\ M. F. Hasler, Jun 16 2008
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jun 10 2008
EXTENSIONS
Edited by M. F. Hasler, Jun 16 2008
STATUS
approved