login
A212310
a(n) = n! mod 4^n.
4
0, 1, 2, 6, 24, 120, 720, 5040, 40320, 100736, 483072, 2168064, 9239552, 53005312, 205203456, 930568192, 2004189184, 12596379648, 54936141824, 81714020352, 534768779264, 1334539714560, 2971594653696, 68346677035008, 232945365286912, 1038559528091648, 2232749779845120
OFFSET
0,3
LINKS
PROG
(Python)
import math
print([math.factorial(n)%(4**n) for n in range(99)])
(PARI) a(n) = n! % 4^n; \\ Michel Marcus, Jan 22 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alex Ratushnyak, Oct 24 2013
STATUS
approved