login
A136761
a(n) = leading digit of n! in base 11.
14
1, 1, 2, 6, 2, 10, 5, 3, 2, 2, 2, 2, 2, 2, 3, 4, 6, 10, 1, 2, 4, 9, 1, 3, 7, 1, 3, 9, 2, 5, 1, 3, 1, 3, 9, 2, 9, 2, 9, 3, 1, 3, 1, 5, 1, 7, 2, 1, 4, 1, 9, 3, 1, 7, 3, 1, 8, 3, 1, 9, 4, 2, 1, 7, 3, 2, 1, 6, 3, 2, 1, 8, 4, 2, 1, 1, 7, 4, 3, 2, 1, 10, 6, 4, 3, 2, 1, 1, 9, 6, 5, 3, 2, 2, 1, 1, 1, 9, 7, 6
OFFSET
0,3
LINKS
EXAMPLE
a(10) = 2 as 10! = 20594010_11 which has leading digit 2. - David A. Corneth, Jan 15 2021
MATHEMATICA
f[n_]:=First[IntegerDigits[n!, 11]]; lst={}; Do[AppendTo[lst, f[n]], {n, 0, 2*5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 14 2009 *)
First[IntegerDigits[#, 11]]&/@(Range[0, 100]!) (* Harvey P. Dale, Feb 20 2013 *)
PROG
(PARI) a(n) = digits(n!, 11)[1]; \\ Michel Marcus, Jan 27 2015
KEYWORD
nonn,easy,base
AUTHOR
Carl R. White, Jan 21 2008
STATUS
approved