OFFSET
0,3
MATHEMATICA
f[n_]:=First[IntegerDigits[n!, 4]]; lst={}; Do[AppendTo[lst, f[n]], {n, 0, 2*5!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 14 2009 *)
PROG
(PARI) a(n) = digits(n!, 4)[1]; \\ Michel Marcus, Jan 27 2015
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Carl R. White, Jan 21 2008
STATUS
approved