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 A316869 #11 Aug 11 2018 14:09:48 %S A316869 0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0, %T A316869 0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0, %U A316869 1,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0 %N A316869 Number of times 8 appears in decimal expansion of n. %e A316869 a(0) = 0 since the decimal representation of 0 does not contain the digit 8. %e A316869 a(8) = 1 since 8 appears once in the decimal expansion of 8. %t A316869 Array[ DigitCount[#, 10, 8] &, 105, 0] %o A316869 (PARI) a(n) = #select(x->x==8, digits(n)); \\ _Michel Marcus_, Jul 20 2018 %Y A316869 Cf. A043521, A043522, A043523, A043524. %Y A316869 Cf. A055641, A268643, A316863, A316864, A316865, A316866, A316867, A316868, A102683. %K A316869 base,easy,nonn %O A316869 0,89 %A A316869 _Robert G. Wilson v_, Jul 15 2018