OFFSET
0,3
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
KEYWORD
base,easy,nonn
AUTHOR
Carl R. White, Jan 16 2008
STATUS
approved