login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A008905 Leading digit of n!. 18
1, 1, 2, 6, 2, 1, 7, 5, 4, 3, 3, 3, 4, 6, 8, 1, 2, 3, 6, 1, 2, 5, 1, 2, 6, 1, 4, 1, 3, 8, 2, 8, 2, 8, 2, 1, 3, 1, 5, 2, 8, 3, 1, 6, 2, 1, 5, 2, 1, 6, 3, 1, 8, 4, 2, 1, 7, 4, 2, 1, 8, 5, 3, 1, 1, 8, 5, 3, 2, 1, 1, 8, 6, 4, 3, 2, 1, 1, 1, 8, 7, 5, 4, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 1 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

LINKS

T. D. Noe, Table of n, a(n) for n=0..1000

Index entries for sequences related to factorial numbers

MATHEMATICA

f[ n_ ] := Quotient[ n!, 10^Floor@ Log[ 10, n! ] ]; Array[ f, 105, 0 ]

CROSSREFS

Cf. A000966, A000142.

Cf. A018799. [From Robert G. Wilson v (rgwv(AT)rgwv.com), Nov 05 2010]

Sequence in context: A049061 A082516 A204935 * A136760 A062539 A171898

Adjacent sequences:  A008902 A008903 A008904 * A008906 A008907 A008908

KEYWORD

nonn,base,easy

AUTHOR

Russ Cox (rsc(AT)swtch.com)

EXTENSIONS

I removed two less efficient Mathematica codings. - Robert G. Wilson v (rgwv(AT)rgwv.com), Nov 05 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 10:05 EST 2012. Contains 206009 sequences.