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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A136702 Final nonzero digit of n! in base 16. 15
1, 1, 2, 6, 8, 8, 13, 11, 8, 8, 15, 5, 12, 12, 8, 8, 8, 8, 3, 9, 4, 4, 8, 8, 12, 12, 8, 8, 14, 6, 4, 12, 8, 8, 11, 1, 4, 4, 8, 8, 4, 4, 8, 8, 2, 10, 12, 4, 12, 12, 8, 8, 2, 10, 12, 4, 14, 14, 12, 4, 7, 11, 10, 6, 8, 8, 11, 1, 4, 4, 8, 8, 4, 4, 8, 8, 10, 2, 12, 4, 4, 4, 8, 8, 6, 14, 4, 12, 2, 2, 4, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..91.

EXAMPLE

6! = 720 decimal = 2D0 hexadecimal, so a(6) = 13.

PROG

(PARI) a(n) = {d = digits(n!, 16); k = #d; while (!d[k] && (k!=1), k--); d[k]; } \\ Michel Marcus, Sep 21 2016

CROSSREFS

Cf. A000142, A136690, A136691, A136692, A136693, A136694, A136695, A136696, A008904, A136697, A136698, A136699, A136700, A136701.

Sequence in context: A021376 A243311 A093888 * A064165 A320573 A003610

Adjacent sequences:  A136699 A136700 A136701 * A136703 A136704 A136705

KEYWORD

base,easy,nonn

AUTHOR

Carl R. White, Jan 16 2008

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 08:53 EDT 2019. Contains 323441 sequences. (Running on oeis4.)