cp's OEIS Frontend

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.

A033103 Number of 5's when n is written in base b for 2<=b<=n+1.

This page as a plain text file.
%I A033103 #8 Nov 14 2012 18:08:07
%S A033103 0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,1,2,1,2,1,2,1,3,1,2,2,2,1,4,2,3,3,4,2,
%T A033103 6,2,4,3,3,4,7,2,3,3,6,3,7,2,4,5,4,3,8,3,5,4,5,3,7,4,7,4,4,3,10,4,5,7,
%U A033103 7,6,9,3,5,4,8,4,11,3,4,6,6,6,8,4,10,7,6,5,12
%N A033103 Number of 5's when n is written in base b for 2<=b<=n+1.
%t A033103 f[n_] := Count[Flatten@ Table[ IntegerDigits[n, b], {b, 2, n + 1}], 5]; Array[f, 90] (* _Robert G. Wilson v_, Nov 14 2012 *)
%Y A033103 Cf. A033093, A033095, A033097, A033099, A033101, A033104, A033105, A033107, A033109, A033111.
%K A033103 nonn,base
%O A033103 1,17
%A A033103 _Clark Kimberling_