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 A292732 #17 Feb 22 2021 09:14:44 %S A292732 2,22,122,202,212,220,221,222,223,224,225,226,227,228,229,232,242,252, %T A292732 262,272,282,292,322,422,522,622,722,822,922,1222,2022,2122,2202,2212, %U A292732 2220,2221,2222,2223,2224,2225,2226,2227,2228,2229,2232,2242,2252,2262,2272,2282,2292,2322,2422,2522,2622,2722,2822,2922 %N A292732 Numbers in which 2 outnumbers all other digits together. %C A292732 Subset of A292452. %e A292732 202 has more 2's than any other digit, whereas both 2002 and 2012 have as many other digits as 2's. %t A292732 Select[Range[0, 3000], Total@ #1 < First@ #2 & @@ TakeDrop[RotateLeft[#, 2] &@ DigitCount@ #, 9] &] (* _Michael De Vlieger_, Sep 22 2017 *) %o A292732 (Python) %o A292732 def ok(n): %o A292732 s=str(n); return s.count('2') > sum([0]+[s.count(d) for d in s if d!='2']) %o A292732 print([m for m in range(2923) if ok(m)]) # _Michael S. Branicky_, Feb 22 2021 %Y A292732 Cf. A292449, A292450, A292451, A292452, A292453, A292454, A292455, A292456, A292457, A292458, A292730, A292731, A292733, A292734, A292735, A292736, A292737, A292738, A292739. %K A292732 nonn,base,easy %O A292732 1,1 %A A292732 _Halfdan Skjerning_, Sep 22 2017