cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A177798 First primes of record chains of consecutive primes such that all of them are odious (A027697).

Original entry on oeis.org

2, 7, 167, 199, 6271, 12227, 168713, 579907, 5937157, 6829751, 8059943, 66858173, 167857663, 661416709, 2322857987, 12012698381, 14641587607, 26304771553, 49671709081, 1244930533403, 1922085626009
Offset: 1

Views

Author

Vladimir Shevelev, Dec 12 2010

Keywords

Comments

The corresponding record lengths are: 1,3,6,9,11,15, etc. (A177800).

Crossrefs

Cf. A177748 (evil version), A000069, A001969, A027697, A027699, A177800.

Programs

  • PARI
    back(p,k)=while(k--,p=precprime(p-1));precprime(p-1)
    r=s=0;forprime(p=2,1e9,if(hammingweight(p)%2,s++,if(s>r,r=s;print1(back(p,r)", "));s=0)) \\ Charles R Greathouse IV, Mar 29 2013

Extensions

More terms from D. S. McNeil, Dec 12 2010
a(20)-a(21) from Amiram Eldar, Dec 09 2020