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!)
A109431 Binary strings that have 1's where 'evil numbers' occur, 0's elsewhere and every term ends with the n-th evil number index (counting with 0 = first). 2
1, 1001, 100101, 1001011, 1001011001, 10010110011, 1001011001101, 1001011001101001, 100101100110100101, 1001011001101001011, 100101100110100101101, 100101100110100101101001, 1001011001101001011010011, 1001011001101001011010011001, 100101100110100101101001100101 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(431) is an anti-yarborough prime with 861 digits (certified). Are there any more?
LINKS
EXAMPLE
a(4)=1001011 because it has 1's at the 'evil number' indices 0, 3, 5 and 6.
PROG
(PARI) a(n)={my(k=0, r=0, L=List()); while(r<n, listput(L, hammingweight(k)%2==0); if(L[#L], r++); k++); fromdigits(Vec(L))} \\ Andrew Howroyd, Nov 08 2019
CROSSREFS
Sequence in context: A192776 A218640 A221347 * A267599 A140927 A261544
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, Jun 28 2005
EXTENSIONS
Terms a(13) and beyond from Andrew Howroyd, Nov 08 2019
STATUS
approved

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 April 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)