login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A177798 First primes of record chains of consecutive primes such that all of them are odious (A027697) 3

%I #14 Dec 09 2020 01:12:07

%S 2,7,167,199,6271,12227,168713,579907,5937157,6829751,8059943,

%T 66858173,167857663,661416709,2322857987,12012698381,14641587607,

%U 26304771553,49671709081,1244930533403,1922085626009

%N First primes of record chains of consecutive primes such that all of them are odious (A027697)

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

%o (PARI) back(p,k)=while(k--,p=precprime(p-1));precprime(p-1)

%o 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

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

%K nonn,base,more

%O 1,1

%A _Vladimir Shevelev_, Dec 12 2010

%E More terms from _D. S. McNeil_, Dec 12 2010

%E a(20)-a(21) from _Amiram Eldar_, Dec 09 2020

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 12 05:07 EDT 2024. Contains 375842 sequences. (Running on oeis4.)