Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Revision History for A001157

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) = sigma_2(n): sum of squares of divisors of n.
(history; published version)
#134 by N. J. A. Sloane at Sun Feb 25 10:13:40 EST 2024
STATUS

proposed

approved

#133 by Michael S. Branicky at Sun Feb 25 08:45:29 EST 2024
STATUS

editing

proposed

#132 by Michael S. Branicky at Sun Feb 25 08:45:27 EST 2024
PROG

(Python)

from math import prod

from sympy import factorint

def a(n): return prod((p**(2*e+2)-1)//(p**2-1) for p, e in factorint(n).items())

print([a(n) for n in range(1, 51)]) # Michael S. Branicky, Feb 25 2024

STATUS

approved

editing

#131 by R. J. Mathar at Sun Jan 28 08:50:39 EST 2024
STATUS

editing

approved

#130 by R. J. Mathar at Sun Jan 28 06:46:24 EST 2024
CROSSREFS

Cf. A333972 (Dgf at s=4).

STATUS

approved

editing

#129 by Peter Bala at Sat Jan 27 05:25:10 EST 2024
FORMULA

a(n) = 1/J_2(n) * Sum_{d divides n} J_2(n*d), where J_2(n) is the Jordan totient function A007434(n) ?. - Peter Bala, Jan 26 2024

STATUS

editing

approved

#128 by Peter Bala at Fri Jan 26 12:35:27 EST 2024
FORMULA

a(n) = 1/J_2(n) * Sum_{d divides n} J_2(n*d), where J_2(n) is the Jordan totient function A007434(n) ?. - Peter Bala, Jan 26 2024

STATUS

approved

editing

#127 by Michel Marcus at Tue Jan 23 02:09:44 EST 2024
STATUS

reviewed

approved

#126 by Joerg Arndt at Mon Jan 22 23:52:53 EST 2024
STATUS

proposed

reviewed

#125 by Peter Bala at Mon Jan 22 17:00:10 EST 2024
STATUS

editing

proposed