login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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. 3
12, 13, 15, 17, 21, 1113, 1117, 1119, 1213, 1219, 1113, 1317, 1114, 1314, 1417, 1315, 1519, 1116, 1617, 1117, 1317, 1719, 1318, 1819, 1719, 1021, 101113, 101117, 101119, 2113, 111217, 2113, 111317, 111319, 111419, 2115, 111517, 111316, 111617, 111317 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A047842(A000040(n)).
MATHEMATICA
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 *)
PROG
(Haskell)
a127354 = a047842 . a000040 -- Reinhard Zumkeller, Apr 14 2014
CROSSREFS
Sequence in context: A085556 A175225 A187234 * A226099 A179512 A125664
KEYWORD
nonn,base
AUTHOR
Lekraj Beedassy, Jan 11 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 23:15 EDT 2024. Contains 371798 sequences. (Running on oeis4.)