|
|
A232980
|
|
The Gauss factorial n_3!.
|
|
7
|
|
|
1, 1, 2, 2, 8, 40, 40, 280, 2240, 2240, 22400, 246400, 246400, 3203200, 44844800, 44844800, 717516800, 12197785600, 12197785600, 231757926400, 4635158528000, 4635158528000, 101973487616000, 2345390215168000, 2345390215168000, 58634755379200000, 1524503639859200000, 1524503639859200000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
The Gauss factorial n_k! is defined to be Product_{1<=j<=n, gcd(j,k)=1} j.
|
|
LINKS
|
|
|
MAPLE
|
Gf:=proc(N, n) local j, k; k:=1;
for j from 1 to N do if gcd(j, n)=1 then k:=j*k; fi; od; k; end;
f:=n->[seq(Gf(N, n), N=0..40)];
f(3);
|
|
PROG
|
(Magma) k:=3; [IsZero(n) select 1 else &*[j: j in [1..n] | IsOne(GCD(j, k))]: n in [0..30]]; // Bruno Berselli, Dec 10 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|