OFFSET
1,2
FORMULA
EXAMPLE
For n = 4; a(n) = sigma (1*2*4) = sigma(8) = 15.
PROG
(Magma) [&+[d: d in Divisors(&*[d: d in Divisors(n)])]: n in [1..100]]
(Python)
from math import isqrt
from sympy import divisor_sigma
def A280685(n): return divisor_sigma((isqrt(n) if (c:=divisor_count(n)) & 1 else 1)*n**(c//2)) # Chai Wah Wu, Jun 25 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Jan 07 2017
STATUS
approved