|
|
A179215
|
|
Product of squarefree numbers less than n+1.
|
|
9
|
|
|
1, 1, 2, 6, 6, 30, 180, 1260, 1260, 1260, 12600, 138600, 138600, 1801800, 25225200, 378378000, 378378000, 6432426000, 6432426000, 122216094000, 122216094000, 2566537974000, 56463835428000, 1298668214844000, 1298668214844000, 1298668214844000, 33765373585944000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Product_{k=1..n} k^A008966(k).
A179214(n) = a(2*n)/a(n-1) for n>0.
|
|
MAPLE
|
a:= proc(n) option remember; `if`(n=0, 1,
a(n-1)*`if`(issqrfree(n), n, 1))
end:
|
|
MATHEMATICA
|
With[{sfnos=Select[Range[50], SquareFreeQ]}, Table[Times@@Select[sfnos, #<n+1&], {n, 0, 30}]] (* Harvey P. Dale, Jun 13 2011 *)
|
|
PROG
|
(PARI) a(n) = prod(k=1, n, if (issquarefree(k), k, 1)); \\ Michel Marcus, Sep 20 2021
(PARI) a(n) = my(p=1); forsquarefree(x=1, n, p*=x[1]); p; \\ Michel Marcus, Sep 20 2021
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|