cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-10 of 30 results. Next

A326608 Numbers m such that m | A000385(m-1) = Sum_{k=1..m-1} sigma(k) * sigma(m-k).

Original entry on oeis.org

1, 3, 40, 84, 124, 318, 496, 672, 732, 790, 1320, 1488, 3154, 4464, 5271, 8128, 9156, 9888, 10880, 13392, 14760, 16392, 17019, 22366, 24384, 39424, 57240, 67488, 68237, 73276, 93825, 95728, 106428, 115330, 128982, 138176, 143256, 143780, 144210, 154432, 156360
Offset: 1

Views

Author

Amiram Eldar, Oct 18 2019

Keywords

Comments

1 is in the sequence assuming A000385(0) = 0.
The corresponding quotients are 0, 2, 723, 3376, 7196, 48834, 116655, 222646, 263221, 294168, 865608, ...
Includes all the even perfect numbers except for 6 and 28.
The only prime number in the sequence is 3. This follows from formula for A000385 given by Robert Israel. - Luis H. Gallardo, Jun 17 2020

Examples

			3 is in the sequence since 3 is a divisor for A000385(3-1) = 6.
		

Crossrefs

Programs

  • Mathematica
    aQ[n_] := Divisible[5 * DivisorSigma[3, n] - (6n - 1) * DivisorSigma[1, n], 12n]; Select[Range[2*10^5], aQ]

A024916 a(n) = Sum_{k=1..n} k*floor(n/k); also Sum_{k=1..n} sigma(k) where sigma(n) = sum of divisors of n (A000203).

Original entry on oeis.org

1, 4, 8, 15, 21, 33, 41, 56, 69, 87, 99, 127, 141, 165, 189, 220, 238, 277, 297, 339, 371, 407, 431, 491, 522, 564, 604, 660, 690, 762, 794, 857, 905, 959, 1007, 1098, 1136, 1196, 1252, 1342, 1384, 1480, 1524, 1608, 1686, 1758, 1806, 1930, 1987, 2080, 2152
Offset: 1

Views

Author

Keywords

Comments

Row sums of triangle A128489. E.g., a(5) = 15 = (10 + 3 + 1 + 1), sum of row 4 terms of triangle A128489. - Gary W. Adamson, Jun 03 2007
Row sums of triangle A134867. - Gary W. Adamson, Nov 14 2007
a(10^4) = 82256014, a(10^5) = 8224740835, a(10^6) = 822468118437, a(10^7) = 82246711794796; see A072692. - M. F. Hasler, Nov 22 2007
Equals row sums of triangle A158905. - Gary W. Adamson, Mar 29 2009
n is prime if and only if a(n) - a(n-1) - 1 = n. - Omar E. Pol, Dec 31 2012
Also the alternating row sums of A236104. - Omar E. Pol, Jul 21 2014
a(n) is also the total number of parts in all partitions of the positive integers <= n into equal parts. - Omar E. Pol, Apr 30 2017
a(n) is also the total area of the terraces of the stepped pyramid with n levels described in A245092. - Omar E. Pol, Nov 04 2017
a(n) is also the area under the Dyck path described in the n-th row of A237593 (see example). - Omar E. Pol, Sep 17 2018
From Omar E. Pol, Feb 17 2020: (Start)
Convolution of A340793 and A000027.
Convolved with A340793 gives A000385. (End)
a(n) is also the number of cubic cells (or cubes) in the n-th level starting from the top of the stepped pyramid described in A245092. - Omar E. Pol, Jan 12 2022

Examples

			From _Omar E. Pol_, Aug 20 2021: (Start)
For n = 6 the sum of all divisors of the first six positive integers is [1] + [1 + 2] + [1 + 3] + [1 + 2 + 4] + [1 + 5] + [1 + 2 + 3 + 6] = 1 + 3 + 4 + 7 + 6 + 12 = 33, so a(6) = 33.
On the other hand the area under the Dyck path of the 6th diagram as shown below is equal to 33, so a(6) = 33.
Illustration of initial terms:                        _ _ _ _
                                        _ _ _        |       |_
                            _ _ _      |     |       |         |_
                  _ _      |     |_    |     |_ _    |           |
          _ _    |   |_    |       |   |         |   |           |
    _    |   |   |     |   |       |   |         |   |           |
   |_|   |_ _|   |_ _ _|   |_ _ _ _|   |_ _ _ _ _|   |_ _ _ _ _ _|
.
    1      4        8          15           21             33         (End)
		

References

  • Hardy and Wright, "An introduction to the theory of numbers", Oxford University Press, fifth edition, p. 266.

Crossrefs

Programs

  • Haskell
    a024916 n = sum $ map (\k -> k * div n k) [1..n]
    -- Reinhard Zumkeller, Apr 20 2015
    
  • Magma
    [(&+[DivisorSigma(1, k): k in [1..n]]): n in [1..60]]; // G. C. Greubel, Mar 15 2019
    
  • Maple
    A024916 := proc(n)
        add(numtheory[sigma](k),k=0..n) ;
    end proc: # Zerinvary Lajos, Jan 11 2009
    # second Maple program:
    a:= proc(n) option remember; `if`(n=0, 0,
          numtheory[sigma](n)+a(n-1))
        end:
    seq(a(n), n=1..100);  # Alois P. Heinz, Sep 12 2019
  • Mathematica
    Table[Plus @@ Flatten[Divisors[Range[n]]], {n, 50}] (* Alonso del Arte, Mar 06 2006 *)
    Table[Sum[n - Mod[n, m], {m, n}], {n, 50}] (* Roger L. Bagula and Gary W. Adamson, Oct 06 2006 *)
    a[n_] := Sum[DivisorSigma[1, k], {k, n}]; Table[a[n], {n, 51}] (* Jean-François Alcover, Dec 16 2011 *)
    Accumulate[DivisorSigma[1,Range[60]]] (* Harvey P. Dale, Mar 13 2014 *)
  • PARI
    A024916(n)=sum(k=1,n,n\k*k) \\ M. F. Hasler, Nov 22 2007
    
  • PARI
    A024916(z) = { my(s,u,d,n,a,p); s = z*z; u = sqrtint(z); p = 2; for(d=1, u, n = z\d - z\(d+1); if(n<=1, p=d; break(), a = z%d; s -= (2*a+(n-1)*d)*n/2); ); u = z\p; for(d=2, u, s -= z%d); return(s); } \\ See the link for a nicely formatted version. - P. L. Patodia (pannalal(AT)usa.net), Jan 11 2008
    
  • PARI
    A024916(n)={my(s=0,d=1,q=n);while(dPeter Polm, Aug 18 2014
    
  • PARI
    A024916(n)={ my(s=n^2, r=sqrtint(n), nd=n, D); for(d=1, r, (1>=D=nd-nd=n\(d+1)) && (r=d-1) && break; s -= n%d*D+(D-1)*D\2*d); s - sum(d=2, n\(r+1), n%d)} \\ Slightly optimized version of Patodia's code. - M. F. Hasler, Apr 18 2015
    (C#) See Polm link.
    
  • Python
    def A024916(n): return sum(k*(n//k) for k in range(1,n+1)) # Chai Wah Wu, Dec 17 2021
    
  • Python
    from math import isqrt
    def A024916(n): return (-(s:=isqrt(n))**2*(s+1) + sum((q:=n//k)*((k<<1)+q+1) for k in range(1,s+1)))>>1 # Chai Wah Wu, Oct 21 2023
  • Sage
    [sum(sigma(k) for k in (1..n)) for n in (1..60)] # G. C. Greubel, Mar 15 2019
    

Formula

From Benoit Cloitre, Apr 28 2002: (Start)
a(n) = n^2 - A004125(n).
Asymptotically a(n) = n^2*Pi^2/12 + O(n*log(n)). (End)
G.f.: (1/(1-x))*Sum_{k>=1} x^k/(1-x^k)^2. - Benoit Cloitre, Apr 23 2003
a(n) = Sum_{m=1..n} (n - (n mod m)). - Roger L. Bagula and Gary W. Adamson, Oct 06 2006
a(n) = n^2*Pi^2/12 + O(n*log(n)^(2/3)) [Walfisz]. - Charles R Greathouse IV, Jun 19 2012
a(n) = A000217(n) + A153485(n). - Omar E. Pol, Jan 28 2014
a(n) = A000292(n) - A076664(n), n > 0. - Omar E. Pol, Feb 11 2014
a(n) = A078471(n) + A271342(n). - Omar E. Pol, Apr 08 2016
a(n) = (1/2)*(A222548(n) + A006218(n)). - Ridouane Oudra, Aug 03 2019
From Greg Dresden, Feb 23 2020: (Start)
a(n) = A092406(n) + 8, n>3.
a(n) = A160664(n) - 1, n>0. (End)
a(2*n) = A326123(n) + A326124(n). - Vaclav Kotesovec, Aug 18 2021
a(n) = Sum_{k=1..n} k * A010766(n,k). - Georg Fischer, Mar 04 2022

A055507 a(n) = Sum_{k=1..n} d(k)*d(n+1-k), where d(k) is number of positive divisors of k.

Original entry on oeis.org

1, 4, 8, 14, 20, 28, 37, 44, 58, 64, 80, 86, 108, 108, 136, 134, 169, 160, 198, 192, 236, 216, 276, 246, 310, 288, 348, 310, 400, 344, 433, 396, 474, 408, 544, 450, 564, 512, 614, 522, 688, 560, 716, 638, 756, 636, 860, 676, 859, 772, 926, 758, 1016, 804, 1032
Offset: 1

Views

Author

Leroy Quet, Jun 29 2000

Keywords

Comments

a(n) is the number of ordered ways to express n+1 as a*b+c*d with 1 <= a,b,c,d <= n. - David W. Wilson, Jun 16 2003
tau(n) (A000005) convolved with itself, treating this result as a sequence whose offset is 2. - Graeme McRae, Jun 06 2006
Convolution of A341062 and nonzero terms of A006218. - Omar E. Pol, Feb 16 2021

Examples

			a(4) = d(1)*d(4) + d(2)*d(3) + d(3)*d(2) + d(4)*d(1) = 1*3 +2*2 +2*2 +3*1 = 14.
3 = 1*1+2*1 in 4 ways, so a(2)=4; 4 = 1*1+1*3 (4 ways) = 2*1+2*1 (4 ways), so a(3)=8; 5 = 4*1+1*1 (4 ways) = 2*2+1*1 (2 ways) + 3*1+2*1 (8 ways), so a(4) = 14. - _N. J. A. Sloane_, Jul 07 2012
		

Crossrefs

Programs

  • Maple
    with(numtheory); A055507:=n->add(tau(j)*tau(n+1-j),j=1..n);
  • Mathematica
    Table[Sum[DivisorSigma[0, k]*DivisorSigma[0, n + 1 - k], {k, 1, n}], {n, 1, 100}] (* Vaclav Kotesovec, Aug 08 2022 *)
  • PARI
    a(n)=sum(k=1,n,numdiv(k)*numdiv(n+1-k)) \\ Charles R Greathouse IV, Oct 17 2012
    
  • Python
    from sympy import divisor_count
    def A055507(n): return  (sum(divisor_count(i+1)*divisor_count(n-i) for i in range(n>>1))<<1)+(divisor_count(n+1>>1)**2 if n&1 else 0) # Chai Wah Wu, Jul 26 2024

Formula

G.f.: Sum_{i >= 1, j >= 1} x^(i+j-1)/(1-x^i)/(1-x^j). - Vladeta Jovovic, Nov 11 2001
Working with an offset of 2, it appears that the o.g.f is equal to the Lambert series sum {n >= 2} A072031(n-1)*x^n/(1 - x^n). - Peter Bala, Dec 09 2014
a(n) = A212151(n+2) - A212151(n+1). - Ridouane Oudra, Sep 12 2020

Extensions

More terms from James Sellers, Jul 04 2000
Definition clarified by N. J. A. Sloane, Jul 07 2012

A340793 Sequence whose partial sums give A000203.

Original entry on oeis.org

1, 2, 1, 3, -1, 6, -4, 7, -2, 5, -6, 16, -14, 10, 0, 7, -13, 21, -19, 22, -10, 4, -12, 36, -29, 11, -2, 16, -26, 42, -40, 31, -15, 6, -6, 43, -53, 22, -4, 34, -48, 54, -52, 40, -6, -6, -24, 76, -67, 36, -21, 26, -44, 66, -48, 48, -40, 10, -30, 108, -106, 34, 8
Offset: 1

Views

Author

Omar E. Pol, Jan 21 2021

Keywords

Comments

Essentially a duplicate of A053222.
Convolved with the nonzero terms of A000217 gives A175254, the volume of the stepped pyramid described in A245092.
Convolved with the nonzero terms of A046092 gives A244050, the volume of the stepped pyramid described in A244050.
Convolved with A000027 gives A024916.
Convolved with A000041 gives A138879.
Convolved with A000070 gives the nonzero terms of A066186.
Convolved with the nonzero terms of A002088 gives A086733.
Convolved with A014153 gives A182738.
Convolved with A024916 gives A000385.
Convolved with A036469 gives the nonzero terms of A277029.
Convolved with A091360 gives A276432.
Convolved with A143128 gives the nonzero terms of A000441.
For the correspondence between divisors and partitions see A336811.

Crossrefs

Programs

  • Maple
    a:= n-> (s-> s(n)-s(n-1))(numtheory[sigma]):
    seq(a(n), n=1..77);  # Alois P. Heinz, Jan 21 2021
  • Mathematica
    Join[{1}, Differences @ Table[DivisorSigma[1, n], {n, 1, 100}]] (* Amiram Eldar, Jan 21 2021 *)
  • PARI
    a(n) = if (n==1, 1, sigma(n)-sigma(n-1)); \\ Michel Marcus, Jan 22 2021

Formula

a(n) = A053222(n-1) for n>1. - Michel Marcus, Jan 22 2021

A319083 Coefficients of polynomials related to the D'Arcais polynomials and Dedekind's eta(q) function, triangle read by rows, T(n,k) for 0 <= k <= n.

Original entry on oeis.org

1, 0, 1, 0, 3, 1, 0, 4, 6, 1, 0, 7, 17, 9, 1, 0, 6, 38, 39, 12, 1, 0, 12, 70, 120, 70, 15, 1, 0, 8, 116, 300, 280, 110, 18, 1, 0, 15, 185, 645, 885, 545, 159, 21, 1, 0, 13, 258, 1261, 2364, 2095, 942, 217, 24, 1, 0, 18, 384, 2262, 5586, 6713, 4281, 1498, 284, 27, 1
Offset: 0

Views

Author

Peter Luschny, Oct 03 2018

Keywords

Comments

Column k is the k-fold self-convolution of sigma (A000203). - Alois P. Heinz, Feb 01 2021
For fixed k, Sum_{j=1..n} T(j,k) ~ Pi^(2*k) * n^(2*k) / (6^k * (2*k)!). - Vaclav Kotesovec, Sep 20 2024

Examples

			Triangle starts:
[0] 1;
[1] 0,  1;
[2] 0,  3,   1;
[3] 0,  4,   6,    1;
[4] 0,  7,  17,    9,    1;
[5] 0,  6,  38,   39,   12,    1;
[6] 0, 12,  70,  120,   70,   15,   1;
[7] 0,  8, 116,  300,  280,  110,  18,   1;
[8] 0, 15, 185,  645,  885,  545, 159,  21,  1;
[9] 0, 13, 258, 1261, 2364, 2095, 942, 217, 24, 1;
		

Crossrefs

Columns k=0..6 give: A000007, A000203, A000385, A374951, A374977, A374978, A374979.
Row sums are A180305.
T(2n,n) gives A340993.

Programs

  • Maple
    P := proc(n, x) option remember; if n = 0 then 1 else
    x*add(numtheory:-sigma(n-k)*P(k,x), k=0..n-1) fi end:
    Trow := n -> seq(coeff(P(n, x), x, k), k=0..n):
    seq(Trow(n), n=0..9);
    # second Maple program:
    T:= proc(n, k) option remember; `if`(k=0, `if`(n=0, 1, 0),
          `if`(k=1, `if`(n=0, 0, numtheory[sigma](n)), (q->
           add(T(j, q)*T(n-j, k-q), j=0..n))(iquo(k, 2))))
        end:
    seq(seq(T(n, k), k=0..n), n=0..10);  # Alois P. Heinz, Feb 01 2021
    # Uses function PMatrix from A357368.
    PMatrix(10, NumberTheory:-sigma); # Peter Luschny, Oct 19 2022
  • Mathematica
    T[n_, k_] := T[n, k] = If[k == 0, If[n == 0, 1, 0],
         If[k == 1, If[n == 0, 0, DivisorSigma[1, n]],
         With[{q = Quotient[k, 2]}, Sum[T[j, q]*T[n-j, k-q], {j, 0, n}]]]];
    Table[Table[T[n, k], {k, 0, n}], {n, 0, 10}] // Flatten (* Jean-François Alcover, Feb 11 2021, after Alois P. Heinz *)

Formula

The polynomials are defined by recurrence: p(0,x) = 1 and for n > 0 by
p(n, x) = x*Sum_{k=0..n-1} sigma(n-k)*p(k, x).
Sum_{k=0..n} (-1)^k * T(n,k) = A283334(n). - Alois P. Heinz, Feb 07 2025

A000441 a(n) = Sum_{k=1..n-1} k*sigma(k)*sigma(n-k).

Original entry on oeis.org

0, 1, 9, 34, 95, 210, 406, 740, 1161, 1920, 2695, 4116, 5369, 7868, 9690, 13640, 16116, 22419, 25365, 34160, 38640, 50622, 55154, 73320, 77225, 100100, 107730, 135576, 141085, 182340, 184760, 233616, 243408, 297738, 301420, 385110, 377511, 467210, 478842
Offset: 1

Views

Author

Keywords

Comments

Apart from initial zero this is the convolution of A340793 and A143128. - Omar E. Pol, Feb 16 2021

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • Jacques Touchard, On prime numbers and perfect numbers, Scripta Math., 129 (1953), 35-39.

Crossrefs

Programs

  • Maple
    S:=(n,e)->add(k^e*sigma(k)*sigma(n-k),k=1..n-1);
    f:=e->[seq(S(n,e),n=1..30)];f(1); # N. J. A. Sloane, Jul 03 2015
  • Mathematica
    a[n_] := Sum[k*DivisorSigma[1, k]*DivisorSigma[1, n-k], {k, 1, n-1}]; Array[a, 40] (* Jean-François Alcover, Feb 08 2016 *)
  • PARI
    a(n) = sum(k=1, n-1, k*sigma(k)*sigma(n-k)); \\ Michel Marcus, Feb 02 2014
    
  • PARI
    a(n) = my(f = factor(n)); ((n - 6*n^2) * sigma(f) + 5*n * sigma(f, 3)) / 24; \\ Amiram Eldar, Jan 04 2025
    
  • Python
    from sympy import divisor_sigma
    def A000441(n): return (n*(1-6*n)*divisor_sigma(n)+5*n*divisor_sigma(n,3))//24 # Chai Wah Wu, Jul 25 2024

Formula

Convolution of A000203 with A064987. - Sean A. Irvine, Nov 14 2010
G.f.: x*f(x)*f'(x), where f(x) = Sum_{k>=1} k*x^k/(1 - x^k). - Ilya Gutkovskiy, Apr 28 2018
a(n) = (n/24 - n^2/4)*sigma_1(n) + (5*n/24)*sigma_3(n). - Ridouane Oudra, Sep 17 2020
Sum_{k=1..n} a(k) ~ Pi^4 * n^5 / 2160. - Vaclav Kotesovec, May 09 2022

Extensions

More terms from Sean A. Irvine, Nov 14 2010
a(1)=0 prepended by Michel Marcus, Feb 02 2014

A000477 a(n) = Sum_{k=1..n-1} k^2*sigma(k)*sigma(n-k).

Original entry on oeis.org

0, 1, 15, 76, 275, 720, 1666, 3440, 6129, 11250, 17545, 28896, 41405, 65072, 85950, 128960, 162996, 238545, 286995, 404600, 482160, 662112, 756470, 1042560, 1150625, 1549730, 1732590, 2257920, 2443105, 3250800, 3421160, 4452096, 4791600, 6039522, 6296500
Offset: 1

Views

Author

Keywords

Examples

			G.f. = x^2 + 15*x^3 + 76*x^4 + 275*x^5 + 720*x^6 + 1666*x^7 + 3440*x^8 + ...
		

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • Jacques Touchard, On prime numbers and perfect numbers, Scripta Math., 129 (1953), 35-39.

Crossrefs

Cf. A000203 (sigma_1), A001158 (sigma_3).

Programs

  • Maple
    with(numtheory): S:=(n,e)->add(k^e*sigma(k)*sigma(n-k),k=1..n-1); f:=e->[seq(S(n,e),n=1..30)]; f(2); # N. J. A. Sloane, Jul 03 2015
  • Mathematica
    a[n_] := Sum[k^2 DivisorSigma[1, k] DivisorSigma[1, n-k], {k, 1, n-1}]; Array[a, 35] (* Jean-François Alcover, Feb 08 2016 *)
  • PARI
    a(n) = sum(k=1, n-1, k^2*sigma(k)*sigma(n-k)); \\ Michel Marcus, Feb 02 2014
    
  • PARI
    a(n) = my(f = factor(n)); ((n^2 - 4*n^3) * sigma(f) + 3*n^2 * sigma(f, 3)) / 24; \\ Amiram Eldar, Jan 04 2025

Formula

a(n) = Sum_{k=1..n-1} k^2*sigma(k)*sigma(n-k). - Sean A. Irvine, Nov 14 2010
G.f.: x*f(x)*g'(x), where f(x) = Sum_{k>=1} k*x^k/(1 - x^k) and g(x) = Sum_{k>=1} k^2*x^k/(1 - x^k)^2. - Ilya Gutkovskiy, May 02 2018
a(n) = (n^2/24 - n^3/6)*sigma_1(n) + (n^2/8)*sigma_3(n). - Ridouane Oudra, Sep 15 2020
Sum_{k=1..n} a(k) ~ Pi^4 * n^6 / 4320. - Vaclav Kotesovec, May 09 2022

Extensions

More terms from Sean A. Irvine, Nov 14 2010
a(1)=0 prepended by Michel Marcus, Feb 02 2014

A000499 a(n) = Sum_{k=1..n-1} k^3*sigma(k)*sigma(n-k).

Original entry on oeis.org

0, 1, 27, 184, 875, 2700, 7546, 17600, 35721, 72750, 126445, 223776, 353717, 595448, 843750, 1349120, 1827636, 2808837, 3600975, 5306000, 6667920, 9599172, 11509982, 16416000, 19015625, 26605670, 30902310, 41686848, 46948825, 64233000, 70306760, 94089216
Offset: 1

Views

Author

Keywords

Examples

			G.f. = x^2 + 27*x^3 + 184*x^4 + 875*x^5 + 2700*x^6 + 7546*x^7 + 17600*x^8 + ...
		

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • Jacques Touchard, On prime numbers and perfect numbers, Scripta Math., 129 (1953), 35-39.

Crossrefs

Cf. A000203 (sigma_1), A001158 (sigma_3).

Programs

  • Maple
    S:=(n,e)->add(k^e*sigma(k)*sigma(n-k),k=1..n-1); f:=e->[seq(S(n,e),n=1..30)]; f(3);
  • Mathematica
    a[n_] := Sum[k^3*DivisorSigma[1, k]*DivisorSigma[1, n - k], {k, 1, n - 1}]; Array[a, 32] (* Jean-François Alcover, Feb 09 2016 *)
  • PARI
    a(n) = sum(k=1, n-1, k^3*sigma(k)*sigma(n-k)); \\ Michel Marcus, Feb 02 2014
    
  • PARI
    a(n) = my(f = factor(n)); ((n^3 - 3*n^4) * sigma(f) + 2*n^3 * sigma(f, 3)) / 24; \\ Amiram Eldar, Jan 04 2025

Formula

a(n) = Sum_{k=1..n-1} k^3*sigma(k)*sigma(n-k). - Michel Marcus, Feb 02 2014
a(n) = (n^3/24 - n^4/8)*sigma_1(n) + (n^3/12)*sigma_3(n). - Ridouane Oudra, Sep 15 2020
Sum_{k=1..n} a(k) ~ Pi^4 * n^7 / 7560. - Vaclav Kotesovec, Aug 08 2022

Extensions

More terms and 0 prepended by Michel Marcus, Feb 02 2014

A259692 a(n) = Sum_{k=1..n-1} k^4*sigma(k)*sigma(n-k).

Original entry on oeis.org

0, 1, 51, 472, 2963, 10764, 36538, 95936, 222561, 502638, 974245, 1850784, 3234269, 5826680, 8857926, 15093248, 21945012, 35369541, 48358119, 74448464, 98697648, 148971972, 187495262, 276509952, 336495665, 488970662, 590163894, 823791168, 966018241, 1358404776
Offset: 1

Views

Author

N. J. A. Sloane, Jul 03 2015

Keywords

Comments

This was formerly A001477.

Crossrefs

Programs

  • Maple
    S:=(n,e)->add(k^e*sigma(k)*sigma(n-k),k=1..n-1); f:=e->[seq(S(n,e),n=1..30)]; f(4);
  • Mathematica
    a[n_]:=Sum[k^4*DivisorSigma[1,k]*DivisorSigma[1,n-k],{k,1,n-1}]; Table[a[n],{n,1,30}] (* Robert P. P. McKone, Sep 09 2023 *)
  • PARI
    a(n) = sum(k=1, n-1, k^4*sigma(k)*sigma(n-k)) \\ Colin Barker, Jul 16 2015

Formula

From Ridouane Oudra, Sep 09 2023: (Start)
a(n) = (n^4/24 - n^5/10)*sigma_1(n) + (5*n^4/84)*sigma_3(n) - (691/635040)*sigma_5(n) - (13/127008)*sigma_11(n) + (691/2520)*A279889(n).
a(n) = (n^4/24 - n^5/10)*sigma_1(n) - (691/1512000 - 5*n^4/84)*sigma_3(n) - (691/756000)*sigma_7(n) + (13/72000)*sigma_11(n) - (691/3150)*A279964(n).
a(n) = (-691/1596672 + n^4/24 - n^5/10)*sigma_1(n) + (5*n^4/84)*sigma_3(n) - (691/145152 - 691*n/120960)*sigma_9(n) - (65/38016)*sigma_11(n) + (691/6048)*f(n), where f(n) = Sum_{k=1..n-1} sigma_1(k)*sigma_9(n-k). (End)

A259693 a(n) = Sum_{k=1..n-1} k^5*sigma(k)*sigma(n-k).

Original entry on oeis.org

0, 1, 99, 1264, 10475, 44820, 185626, 546560, 1454841, 3640950, 7868245, 16042176, 31040789, 59796968, 97525350, 177090560, 276689076, 467100189, 681356055, 1096023200, 1533162960, 2426544252, 3205401854, 4885539840, 6250705625, 9431254430, 11831779350
Offset: 1

Views

Author

N. J. A. Sloane, Jul 03 2015

Keywords

Comments

This was formerly A001478.

Crossrefs

Programs

  • Maple
    S:=(n,e)->add(k^e*sigma(k)*sigma(n-k),k=1..n-1); f:=e->[seq(S(n,e),n=1..30)]; f(5);
  • Mathematica
    S[n_, e_] := Sum[k^e * DivisorSigma[1, k] * DivisorSigma[1, n - k], {k, 1, n - 1}]
    f[e_] := Table[S[n, e], {n, 1, 27}];f[5] (* James C. McMahon, Dec 19 2023 *)
  • PARI
    a(n) = sum(k=1, n-1, k^5*sigma(k)*sigma(n-k)) \\ Colin Barker, Jul 16 2015

Formula

From Ridouane Oudra, Dec 08 2023: (Start)
a(n) = (n^5/24 - n^6/12)*sigma_1(n) + (5*n^5/112)*sigma_3(n) - (691*n/254016)*sigma_5(n) - (65*n/254016)*sigma_11(n) + (691*n/1008)*A279889(n).
a(n) = (n^5/24 - n^6/12)*sigma_1(n) + (5*n^5/112 - 691*n/604800)*sigma_3(n) - (691*n/302400)*sigma_7(n) + (13*n/28800)*sigma_11(n) - (691*n/1260)*A279964(n).
a(n) = (-3455*n/3193344 + n^5/24 - n^6/12)*sigma_1(n) + (5*n^5/112)*sigma_3(n) + (-3455*n/290304 + 691*n^2/48384)*sigma_9(n) - (325*n/76032)*sigma_11(n) + (3455*n/12096)*f(n), where f(n) = Sum_{k=1..n-1} sigma_1(k)*sigma_9(n-k). (End)
Showing 1-10 of 30 results. Next