[go: up one dir, main page]

login
Revision History for A354862 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) = n! * Sum_{d|n} (n/d)! / d!.
(history; published version)
#25 by Joerg Arndt at Wed Aug 30 02:00:25 EDT 2023
STATUS

reviewed

approved

#24 by Michel Marcus at Wed Aug 30 01:55:22 EDT 2023
STATUS

proposed

reviewed

#23 by Amiram Eldar at Wed Aug 30 00:13:42 EDT 2023
STATUS

editing

proposed

#22 by Amiram Eldar at Wed Aug 30 00:10:44 EDT 2023
MATHEMATICA

a[n_] := n! * DivisorSum[n, (n/#)! / #! &]; Array[a, 17] (* Amiram Eldar, Aug 30 2023 *)

STATUS

approved

editing

#21 by Alois P. Heinz at Thu Jun 09 16:38:47 EDT 2022
STATUS

proposed

approved

#20 by Chai Wah Wu at Thu Jun 09 15:20:04 EDT 2022
STATUS

editing

proposed

#19 by Chai Wah Wu at Thu Jun 09 13:03:23 EDT 2022
PROG

return sum(f*(a := factorial(n//d))//(b:= factorial(d)) + (f*b//a if d**2 < n else 0) for d in divisors(n, generator=True) if d**2 <= n) # Chai Wah Wu, Jun 09 2022

#18 by Chai Wah Wu at Thu Jun 09 13:01:35 EDT 2022
PROG

(Python)

from math import factorial

from sympy import divisors

def A354862(n):

f = factorial(n)

return sum(f*(a := factorial(n//d))//(b:= factorial(d)) + (f*b//a if d**2 < n else 0) for d in divisors(n, generator=True) if d**2 <= n) # Chai Wah Wu, Jun 09 2022

STATUS

approved

editing

#17 by Michael De Vlieger at Thu Jun 09 11:40:39 EDT 2022
STATUS

reviewed

approved

#16 by Joerg Arndt at Thu Jun 09 11:33:28 EDT 2022
STATUS

proposed

reviewed