OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..450
Charles R. Wall, Problem H-374, Advanced Problems and Solutions, The Fibonacci Quarterly, Vol. 22, No. 3 (1984), p. 280; Bounds of Joy, Solution to Problem H-374 by the proposer, ibid., Vol. 24, No. 2 (1986), p. 188.
FORMULA
a(n)/n! <= 2 (while usigma(n)/n and sigma(n!)/n! are unbounded; Wall, 1984). - Amiram Eldar, Feb 08 2022
EXAMPLE
n=6, 6! = 720, sum of the 8 unitary ones of its 30 divisors is 1020, a(6) = 720+1+16+45+9+80+5+144 = 1020.
MATHEMATICA
usigma[1] = 1; usigma[n_] := Times @@ (1 + Power @@@ FactorInteger[n]); usigma/@ (Range[17]!) (* Amiram Eldar, Jun 23 2019 *)
PROG
(PARI) valp(n, p)=my(s); while(n\=p, s+=n); s
a(n)=my(s=1); forprime(p=2, n, s*=p^valp(n, p)+1); s \\ Charles R Greathouse IV, Jan 26 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Sep 11 2001
STATUS
approved