This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A175480 #10 Nov 08 2018 21:11:29 %S A175480 1,1,0,1,1,0,0,1,1,0,1,1,1,0,1,1,1,0,0,0,1,1,0,0,1,1,0,1,0,1,1,0,1,1, %T A175480 1,0,0,1,1,0,1,1,1,1,0,1,1,1,1,1,0,0,0,0,1,0,0,0,1,1,0,0,1,0,1,1,0,0, %U A175480 1,0,0,1,0,1,1,0,1,0,1,1,0,1,1,0 %N A175480 a(1)=1. For n >= 1, if a(n) = 1, then append to the sequence the digits of binary n+1 (most significant digits first and least significant digits last). If a(n) = 0, then append to the sequence the digits of binary n+1 in reverse order (least significant digits first and most significant digits last). %H A175480 Rémy Sigrist, <a href="/A175480/b175480.txt">Table of n, a(n) for n = 1..10000</a> %o A175480 (PARI) a=[1]; for (n=1, 84, print1 (a[n] ", "); if (#a<84, a=concat(a, if (a[n], binary(n+1), Vecrev(binary(n+1)))))) \\ _Rémy Sigrist_, Nov 08 2018 %Y A175480 Cf. A175479. %K A175480 base,nonn %O A175480 1,1 %A A175480 _Leroy Quet_, May 25 2010 %E A175480 Definition fixed by _Leroy Quet_, May 28 2010