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!. 19
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; text; internal format)
OFFSET

0,3

LINKS

Seiichi Manyama, Table of n, a(n) for n = 0..10000 (terms 0..1000 from T. D. Noe)

Index entries for sequences related to factorial numbers

FORMULA

a(n) = A000030(A000142(n)). - Reinhard Zumkeller, Apr 08 2012

MATHEMATICA

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

PROG

(Haskell)

a008905 = a000030 . a000142  -- Reinhard Zumkeller, Apr 08 2012

CROSSREFS

Cf. A000966, A000142, A018799, A202021 (leading digit of (10^n)!).

Sequence in context: A049061 A082516 A204935 * A136760 A289382 A062539

Adjacent sequences:  A008902 A008903 A008904 * A008906 A008907 A008908

KEYWORD

nonn,base,easy

AUTHOR

Russ Cox

EXTENSIONS

Two less-efficient Mathematica codings removed by Robert G. Wilson v, Nov 05 2010

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified September 25 18:20 EDT 2017. Contains 292499 sequences.