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 A098943 #14 Jun 16 2021 10:15:23 %S A098943 6,16,36,56,61,63,65,66,67,69,76,96,116,136,156,161,163,165,166,167, %T A098943 169,176,196,316,336,356,361,363,365,366,367,369,376,396,516,536,556, %U A098943 561,563,565,566,567,569,576,596,611,613,615,616,617,619,631,633,635,636 %N A098943 Numbers where 6 is the only even decimal digit. %C A098943 This is a 10-automatic language. - _Charles R Greathouse IV_, Oct 03 2011 %H A098943 Michael S. Branicky, <a href="/A098943/b098943.txt">Table of n, a(n) for n = 1..10000</a> %H A098943 <a href="/index/Ar#10-automatic">Index entries for 10-automatic sequences</a> %o A098943 (Perl) for (0..1000) { %o A098943 print "$_, " if (/^[135679]*6[135679]*$/) %o A098943 } # _Charles R Greathouse IV_, Oct 05 2011 %o A098943 (Python) %o A098943 from itertools import product %o A098943 def agen(maxdigits): %o A098943 for digs in range(1, maxdigits+1): %o A098943 for p in product("135679", repeat=digs): %o A098943 if '6' in p: yield int("".join(p)) %o A098943 print([an for an in agen(3)]) # _Michael S. Branicky_, Jun 16 2021 %Y A098943 Cf. A096844, A098941, A098942, A098944. %K A098943 base,easy,nonn %O A098943 1,1 %A A098943 _Eric Angelini_, Oct 21 2004