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!)
A373064 The mode of the digits of n (using largest mode if multimodal). 1
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9, 3, 3, 3, 3, 4, 5, 6, 7, 8, 9, 4, 4, 4, 4, 4, 5, 6, 7, 8, 9, 5, 5, 5, 5, 5, 5, 6, 7, 8, 9, 6, 6, 6, 6, 6, 6, 6, 7, 8, 9, 7, 7, 7, 7, 7, 7, 7, 7, 8, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 1, 2, 3, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
First differs from A054055 at n = 100.
LINKS
EXAMPLE
a(100) = 0 because 0 is the digit occurring with the highest frequency in 100.
a(123300) = 3 because both 0 and 3 occur with the (same) highest frequency in 123300, and 3 is the largest digit.
MATHEMATICA
Array[Max[Commonest[IntegerDigits[#]]] &, 120, 0]
PROG
(Python)
from statistics import multimode
def a(n): return int(max(multimode(str(n))))
print([a(n) for n in range(105)]) # Michael S. Branicky, May 21 2024
CROSSREFS
Sequence in context: A065881 A133048 A214950 * A054055 A067456 A052429
KEYWORD
nonn,base,easy
AUTHOR
Paolo Xausa, May 21 2024
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 August 14 10:54 EDT 2024. Contains 375159 sequences. (Running on oeis4.)