login
n! mod n^3.
1

%I #8 Aug 03 2017 11:42:27

%S 0,2,6,24,120,72,238,384,567,800,110,0,2184,784,0,0,1428,0,703,0,0,

%T 2904,4209,0,0,13520,0,0,15109,0,18228,0,0,30056,0,0,9546,14440,0,0,

%U 26855,0,23994,0,0,25392,13207,0,0,0,0,0,95453,0,0,0,0,148016,93928,0,208315

%N n! mod n^3.

%t Table[Mod[n!,n^3],{n,80}] (* _Harvey P. Dale_, Aug 03 2017 *)

%o (Python)

%o import math

%o for i in range(1,77): print str(math.factorial(i) % (i**3))+',',

%Y Cf. A000142, A000578, A072230, A242426.

%K nonn

%O 1,2

%A _Alex Ratushnyak_, May 14 2014