A246916 Sum of the cumulative sums of all the permutations of divisors of number n.
1, 9, 12, 84, 18, 720, 24, 900, 156, 1080, 36, 70560, 42, 1440, 1440, 11160, 54, 98280, 60, 105840, 1920, 2160, 72, 10886400, 372, 2520, 2400, 141120, 90, 13063680, 96, 158760, 2880, 3240, 2880, 165110400, 114, 3600, 3360, 16329600, 126, 17418240, 132, 211680
Offset: 1
Keywords
Examples
For n = 4; there are tau(4)! = 6 permutations of divisors of number 4: (1, 2, 4); (1, 4, 2); (2, 1, 4); (2, 4, 1); (4, 1, 2); (4, 2, 1). Sum of their cumulative sums = 11 + 13 + 12 + 15 + 16 + 17 = 84.
Links
- Antti Karttunen, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[SumOfDivisors(n)*(Order(AlternatingGroup(NumberOfDivisors(n)+1))): n in [1..100]];
-
Mathematica
A246916[n_] := DivisorSigma[1, n]*(DivisorSigma[0, n] + 1)!/2; Array[A246916, 50] (* Paolo Xausa, Aug 08 2025 *)
-
PARI
A001710(n) = if( n<2, n>=0, n!/2); A246916(n) = (sigma(n) * A001710(numdiv(n) + 1)); \\ Antti Karttunen, Sep 10 2017
Comments