OFFSET
1,2
EXAMPLE
The 5th triangular number is 15, whose divisors are {1, 3, 5, 15}; their product is 225.
MATHEMATICA
pd[n_] := n^(DivisorSigma[0, n]/2); t[n_] := n (n + 1)/2; pd /@ t /@ Range[26] (* Amiram Eldar, Sep 07 2019 *)
PROG
(Magma) [&*[d: d in Divisors(n * (n+1) div 2)] : n in [1..1000]]
(PARI) a(n) = vecprod(divisors(n*(n+1)/2)); \\ Michel Marcus, Oct 14 2019
(Python)
from math import isqrt, divisor_count
def A325838(n): return (lambda m:(isqrt(m) if (c:=divisor_count(m)) & 1 else 1)*m**(c//2))(n*(n+1)//2) # Chai Wah Wu, Jun 25 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Sep 07 2019
STATUS
approved