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

 


Number of times most common digit of primes appears in first n primes.
1

%I #9 Feb 15 2015 10:17:24

%S 1,1,1,1,2,3,4,5,5,5,6,6,7,7,7,7,7,8,8,9,9,9,9,9,9,11,12,13,14,16,17,

%T 19,20,21,22,24,25,26,27,28,29,31,33,34,35,36,38,38,38,38,38,38,39,40,

%U 40,40,40,41,41,42,42,42,42,44,45,46,47,47,47,47,47,47,47,47,47,47,47

%N Number of times most common digit of primes appears in first n primes.

%C Apart from the first four cases, 1 seems to be the most common digit of the first n primes.

%H Enrique Pérez Herrero, <a href="/A063273/b063273.txt">Table of n, a(n) for n = 1..1000</a>

%e a(6)=3 since first six primes are 2,3,5,7,11,13, so most common digit is 1 which has appeared 3 times.

%t A063273[n_Integer]:=Max[Tally[Flatten[IntegerDigits[Prime[Range[n]]]]][[All,2]]]; Array[A063273, 100] (* _Enrique Pérez Herrero_, Jun 04 2011 *)

%Y Cf. A000040, A019518, A063272.

%K base,nonn

%O 1,5

%A _Henry Bottomley_, Jul 13 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 21 08:46 EDT 2024. Contains 376084 sequences. (Running on oeis4.)