A177800
The maximal length of the chain of consecutive primes starting with A177798(n) such that all of them are odious.
Original entry on oeis.org
1, 3, 6, 9, 11, 15, 17, 18, 22, 23, 25, 26, 28, 29, 33, 34, 35, 36, 38, 39, 42
Offset: 1
A177748
First primes of record chains of consecutive primes such that all of them are evil (A027699).
Original entry on oeis.org
3, 257, 337, 4423, 4919, 30431, 66841, 514271, 14490383, 231234569, 325923613, 640085473, 1600993259, 7180164577, 8069913503, 86933359951, 284331217637, 1128352801153, 1209935587291, 2454267258251, 2945783287813
Offset: 1
257 is the first evil prime followed by two consecutive primes (263,269) which are also evil. Thus it is record length 3.
-
{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
A177801
Record lengths of chains of consecutive evil primes, starting with A177748(n).
Original entry on oeis.org
2, 3, 5, 7, 8, 12, 16, 20, 23, 25, 26, 30, 31, 32, 34, 38, 39, 40, 41, 42, 44
Offset: 1
-
{l=0;r=0; forprime( p=1, default(primelimit), if( bittest( norml2(binary(p)),0), l>r & print1(r=l ", "); l & l=0, l++))} \\ M. F. Hasler, Dec 12 2010
Showing 1-3 of 3 results.
Comments