A212310 a(n) = n! mod 4^n.
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
Links
- Seiichi Manyama, Table of n, a(n) for n = 0..1000
Programs
-
PARI
a(n) = n! % 4^n; \\ Michel Marcus, Jan 22 2021
-
Python
import math print([math.factorial(n)%(4**n) for n in range(99)])