OFFSET
1,5
LINKS
Harry J. Smith, Table of n, a(n) for n=1..1275
EXAMPLE
a(7,4) = 4! mod 7 = 24 mod 7 = 3. Rows are:
0;
1,0;
1,2,0;
1,2,2,0;
1,2,1,4,0;
1,2,0,0,0,0;
1,2,6,3,1,6,0;
1,2,6,0,0,0,0,0;
1,2,6,6,3,0,0,0,0;
1,2,6,4,0,0,0,0,0,0;
MATHEMATICA
Table[Mod[Range[n]!, n], {n, 1, 15}] // Flatten (* Jean-François Alcover, Oct 25 2013 *)
PROG
(PARI) { n=0; for (k=1, 50, for (m=1, k, write("b062169.txt", n++, " ", m!%k)) ) } \\ Harry J. Smith, Aug 02 2009
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Henry Bottomley, Jun 11 2001
EXTENSIONS
Definition amended by Georg Fischer, Oct 27 2021
STATUS
approved