OFFSET
1,1
COMMENTS
The first lengths of such chains of primes are: 2, 3, 5, 7, 8, 12, 16, ..., cf. A177801.
EXAMPLE
257 is the first evil prime followed by two consecutive primes (263,269) which are also evil. Thus it is record length 3.
PROG
(PARI) {l=0; sp=0; r=0; forprime( p=1, default(primelimit), if( norml2(binary(p))%2, l>r & !print1(sp", ") & r=l; l & l=0, l || sp=p; l++))} \\ M. F. Hasler, Dec 12 2010
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Vladimir Shevelev, Dec 12 2010
EXTENSIONS
More terms from D. S. McNeil, Dec 12 2010
a(18)-a(21) from Amiram Eldar, Dec 09 2020
STATUS
approved