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 A241882 #34 Jun 14 2020 00:00:13 %S A241882 2,4,6,8,12,16,32,36,44,52,56,72,76,88,92,96,112,144,232,272,336,344, %T A241882 544,552,616,656,696,744,776,888,944,992,1616,1888,2112,2272,2992, %U A241882 3232,3344,3888,4144,4544,4944,5552,5888,6336,6656,7744,7776,7888,9696,9888 %N A241882 Numbers with d digits that are divisible by 2^d and have at most 2 distinct digits: exactly one even digit and at most one odd digit. %C A241882 Union of 20 different sequences, all of which are defined as "a(n) contains n digits (either [any odd digit] or [any nonzero even digit] and is divisible by 2^n)." %C A241882 Subsequence of A050622. - _Michel Marcus_, May 07 2014 %H A241882 Ray Chandler, <a href="/A241882/b241882.txt">Table of n, a(n) for n = 1..10000</a> %e A241882 24 is not in the sequence because it has distinct even digits. %o A241882 (PARI) isok(n) = {digs = digits(n); d = #digs; if (n % 2^d, return (0)); sd = Set(digs); if (#sd > 2, return (0)); if (#sd < 2, return (1)); ((sd[1] % 2) + (sd[2] % 2)) == 1;} \\ _Michel Marcus_, May 02 2014 %Y A241882 Cf. A035014, A053312-A053318, A053332-A053338, A053376-A053380 (sequences whose union is this sequence). %K A241882 base,nonn %O A241882 1,1 %A A241882 _J. Lowell_, Apr 30 2014 %E A241882 More terms from _Michel Marcus_, May 02 2014