|
|
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
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|