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.

A127354 Digit count of prime(n). The digit count numerically summarizes the frequency of digits 0 through 9 in that order when they occur in a number.

This page as a plain text file.
%I A127354 #10 Oct 10 2019 11:49:12
%S A127354 12,13,15,17,21,1113,1117,1119,1213,1219,1113,1317,1114,1314,1417,
%T A127354 1315,1519,1116,1617,1117,1317,1719,1318,1819,1719,1021,101113,101117,
%U A127354 101119,2113,111217,2113,111317,111319,111419,2115,111517,111316,111617,111317
%N A127354 Digit count of prime(n). The digit count numerically summarizes the frequency of digits 0 through 9 in that order when they occur in a number.
%H A127354 Reinhard Zumkeller, <a href="/A127354/b127354.txt">Table of n, a(n) for n = 1..10000</a>
%F A127354 a(n) = A047842(A000040(n)).
%t A127354 dc[n_] :=FromDigits@Flatten@Select[Table[{DigitCount[n, 10, k], k}, {k, 0, 9}], #[[1]] > 0 &];Table[dc[Prime[n]], {n, 40}] (* _Ray Chandler_, Jan 16 2007 *)
%o A127354 (Haskell)
%o A127354 a127354 = a047842 . a000040  -- _Reinhard Zumkeller_, Apr 14 2014
%Y A127354 Cf. A047842, A000040, A127355.
%K A127354 nonn,base
%O A127354 1,1
%A A127354 _Lekraj Beedassy_, Jan 11 2007