OFFSET
1,1
COMMENTS
floor(a(n)/10^(n-1)) is the juxtaposition of a de Bruijn sequence. [This is because the first and last n-1 digits of a(n) are always identical - see my link for a general proof. - Jianing Song, Oct 29 2019]
LINKS
Eric Weisstein's World of Mathematics, de Bruijn Sequence
Wikipedia, de Bruijn Sequence
FORMULA
Proof: by the property mentioned in the comment section, write a(n) = (d_1)*10^(2^n+n-2) + (d_2)*10^(2^n+n-3) + ... + (d_2^n)*10^(n-1) + (d_1)*10^(n-2) + (d_2)*10^(n-3) + ... + (d_(n-1))*10^0, d_i = 0 or 1, then (d_1)*2^(2^n-1) + (d_2)*2^(2^n-2) + ... + (d_2^n)*2^0 <= A166316(n), and d_1, d_2, ..., d_(n-1) <= 1. The equalities can hold simultaneously (when written as a 2^n-digit binary number, A166316(n) begins with n 1's), which gives the formula. - Jianing Song, Oct 28 2019
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Jinyuan Wang, Oct 26 2019
STATUS
approved