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 A038450 #16 Mar 11 2025 09:44:30 %S A038450 11111111,101111111,110111111,111011111,111101111,111110111,111111011, %T A038450 111111101,111111110,1001111111,1010111111,1011011111,1011101111, %U A038450 1011110111,1011111011,1011111101,1011111110,1100111111,1101011111,1101101111,1101110111,1101111011,1101111101 %N A038450 Sums of 8 distinct powers of 10. %H A038450 Amiram Eldar, <a href="/A038450/b038450.txt">Table of n, a(n) for n = 1..10000</a> %t A038450 Sort[FromDigits/@Permutations[{1,1,1,1,1,1,1,1,0,0}]] (* _Harvey P. Dale_, Apr 29 2013 *) %o A038450 (Python) %o A038450 from itertools import islice %o A038450 def A038450_gen(): # generator of terms %o A038450 yield int(bin(n:=255)[2:]) %o A038450 while True: yield int(bin((n:=n^((a:=-n&n+1)|(a>>1)) if n&1 else ((n&~(b:=n+(a:=n&-n)))>>a.bit_length())^b))[2:]) %o A038450 A038450_list = list(islice(A038450_gen(),20)) # _Chai Wah Wu_, Mar 11 2025 %Y A038450 Cf. A011557. %Y A038450 Cf. A038444, A038445, A038446, A038447, A038448, A038449, A038451, A038452, A038453, A038454. %K A038450 nonn,easy %O A038450 1,1 %A A038450 _Olivier Gérard_ %E A038450 Offset corrected by _Amiram Eldar_, Jul 12 2022