STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
a(n) = 1 for n >0 in A001108. - Michel Marcus, Mar 22 2023
a(n) = 1 for n in A001108. - Michel Marcus, Mar 22 2023
(PARI) a(n) = core(n*(n+1)/2); \\ Michel Marcus, Mar 22 2023
approved
editing
editing
approved
a:= n-> mul(i[1]^irem(i[2], 2), i=ifactors(n*(n+1)/2)[2]):
seq(a(n), n=1..70); # Alois P. Heinz, Mar 20 2023
proposed
editing
editing
proposed
(Python)
from sympy.ntheory.factor_ import core
def A361670(n): return core(n*(n+1)>>1) # Chai Wah Wu, Mar 20 2023
approved
editing
editing
approved