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!)
A136754 Leading digit of n! in base 3. 14
1, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

David A. Corneth, Table of n, a(n) for n = 0..9999

EXAMPLE

a(10) = 2 as 10! = 20211100210000_3 which has leading digit 2. - David A. Corneth, Jan 15 2021

PROG

(PARI) a(n, {b = 3}) = my(f = n!); f \ b^logint(f, b) \\ David A. Corneth, Jan 10 2021

CROSSREFS

Cf. A000142, A136690, A136755, A136756, A136757, A136758, A136759, A136760, A008905, A136761, A136762, A136763, A136764, A136765, A136766.

Sequence in context: A276337 A160385 A076881 * A276788 A282625 A026498

Adjacent sequences:  A136751 A136752 A136753 * A136755 A136756 A136757

KEYWORD

nonn,easy,base

AUTHOR

Carl R. White, Jan 21 2008

EXTENSIONS

Missing a(0)=1 inserted by David A. Corneth, Jan 10 2021

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 May 18 08:30 EDT 2022. Contains 353785 sequences. (Running on oeis4.)