login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A177798
First primes of record chains of consecutive primes such that all of them are odious (A027697)
3
2, 7, 167, 199, 6271, 12227, 168713, 579907, 5937157, 6829751, 8059943, 66858173, 167857663, 661416709, 2322857987, 12012698381, 14641587607, 26304771553, 49671709081, 1244930533403, 1922085626009
OFFSET
1,1
COMMENTS
The corresponding record lengths are: 1,3,6,9,11,15, etc. (A177800).
PROG
(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
CROSSREFS
Cf. A177748 (evil version), A000069, A001969, A027697, A027699, A177800.
Sequence in context: A182974 A005345 A174366 * A077746 A236810 A159034
KEYWORD
nonn,base,more
AUTHOR
Vladimir Shevelev, Dec 12 2010
EXTENSIONS
More terms from D. S. McNeil, Dec 12 2010
a(20)-a(21) from Amiram Eldar, Dec 09 2020
STATUS
approved