OFFSET
0,3
LINKS
David A. Corneth, Table of n, a(n) for n = 0..9999
EXAMPLE
a(10) = 9 as 10! = 9100926_13 which has leading digit 9. - David A. Corneth, Jan 15 2021
MATHEMATICA
Table[First[IntegerDigits[n!, 13]], {n, 0, 100}] (* Harvey P. Dale, Dec 20 2015 *)
PROG
(PARI) a(n) = digits(n!, 13)[1]; \\ Michel Marcus, Jan 27 2015
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Carl R. White, Jan 21 2008
STATUS
approved