|
| |
|
|
A063273
|
|
Number of times most common digit of primes appears in first n primes.
|
|
1
| |
|
|
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, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 31, 33, 34, 35, 36, 38, 38, 38, 38, 38, 38, 39, 40, 40, 40, 40, 41, 41, 42, 42, 42, 42, 44, 45, 46, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,5
|
|
|
COMMENTS
| Apart from the first four cases, 1 seems to be the most common digit of the first n primes.
|
|
|
LINKS
| Enrique Pérez Herrero, Table of n, a(n) for n = 1..1000
|
|
|
EXAMPLE
| 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.
|
|
|
MATHEMATICA
| (* Enrique Perez Herrero, Jun 04 2011 *)
A063273[n_Integer]:=Max[Tally[Flatten[IntegerDigits[Prime[Range[n]]]]][[All, 2]]]; Array[A063273, 100]
|
|
|
CROSSREFS
| Cf. A000040, A019518, A063272.
Sequence in context: A180600 A006159 A081610 * A200262 A007599 A154940
Adjacent sequences: A063270 A063271 A063272 * A063274 A063275 A063276
|
|
|
KEYWORD
| base,nonn
|
|
|
AUTHOR
| Henry Bottomley (se16(AT)btinternet.com), Jul 13 2001
|
| |
|
|