The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A308944 a(n) = Product_{k=1..n} lcm(n,k) / (k * gcd(n,k)). 0
1, 1, 3, 4, 125, 9, 16807, 1024, 59049, 15625, 2357947691, 5184, 1792160394037, 282475249, 474609375, 17179869184, 2862423051509815793, 3486784401, 5480386857784802185939, 250000000000, 10382917022245341, 5559917313492231481, 39471584120695485887249589623 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = Product_{d|n} d^(phi(d)-phi(n/d)).
a(n) = n^n / Product_{d|n} d^(2*phi(n/d)).
a(n) = n^(-n) * Product_{d|n} d^(2*phi(d)).
a(n) = n^n / Product_{k=1..n} gcd(n,k)^2.
a(n) = n^(-n) * Product_{k=1..n} lcm(n,k)^2/k^2.
a(n) = A127553(n)/n!.
a(n) = A056916(n)/A067911(n).
a(p) = p^(p-2), where p is a prime.
MATHEMATICA
Table[Product[LCM[n, k]/(k GCD[n, k]), {k, 1, n}], {n, 1, 23}]
Table[Product[d^(EulerPhi[d] - EulerPhi[n/d]), {d, Divisors[n]}], {n, 1, 23}]
PROG
(PARI) a(n) = prod(k=1, n, lcm(n, k)/(k*gcd(n, k))); \\ Michel Marcus, Jul 02 2019
CROSSREFS
Sequence in context: A041465 A004124 A175504 * A280735 A356073 A290282
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 01 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 03:59 EDT 2024. Contains 372528 sequences. (Running on oeis4.)