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-7 of 7 results.

A239660 Triangle read by rows in which row n lists two copies of the n-th row of triangle A237593.

Original entry on oeis.org

1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 1, 1, 2, 3, 1, 1, 3, 3, 1, 1, 3, 3, 2, 2, 3, 3, 2, 2, 3, 4, 1, 1, 1, 1, 4, 4, 1, 1, 1, 1, 4, 4, 2, 1, 1, 2, 4, 4, 2, 1, 1, 2, 4, 5, 2, 1, 1, 2, 5, 5, 2, 1, 1, 2, 5, 5, 2, 2, 2, 2, 5, 5, 2, 2, 2, 2, 5, 6, 2, 1, 1, 1, 1, 2, 6, 6, 2, 1, 1, 1, 1, 2, 6, 6, 3, 1, 1, 1, 1, 3, 6, 6, 3, 1, 1, 1, 1, 3, 6
Offset: 1

Views

Author

Omar E. Pol, Mar 24 2014

Keywords

Comments

For the construction of this sequence also we can start from A235791.
This sequence can be interpreted as an infinite Dyck path: UDUDUUDD...
Also we use this sequence for the construction of a spiral in which the arms in the quadrants give the symmetric representation of sigma, see example.
We can find the spiral (mentioned above) on the terraces of the stepped pyramid described in A244050. - Omar E. Pol, Dec 07 2016
The spiral has the property that the sum of the parts in the quadrants 1 and 3, divided by the sum of the parts in the quadrants 2 and 4, converges to 3/5. - Omar E. Pol, Jun 10 2019

Examples

			Triangle begins (first 15.5 rows):
1, 1, 1, 1;
2, 2, 2, 2;
2, 1, 1, 2, 2, 1, 1, 2;
3, 1, 1, 3, 3, 1, 1, 3;
3, 2, 2, 3, 3, 2, 2, 3;
4, 1, 1, 1, 1, 4, 4, 1, 1, 1, 1, 4;
4, 2, 1, 1, 2, 4, 4, 2, 1, 1, 2, 4;
5, 2, 1, 1, 2, 5, 5, 2, 1, 1, 2, 5;
5, 2, 2, 2, 2, 5, 5, 2, 2, 2, 2, 5;
6, 2, 1, 1, 1, 1, 2, 6, 6, 2, 1, 1, 1, 1, 2, 6;
6, 3, 1, 1, 1, 1, 3, 6, 6, 3, 1, 1, 1, 1, 3, 6;
7, 2, 2, 1, 1, 2, 2, 7, 7, 2, 2, 1, 1, 2, 2, 7;
7, 3, 2, 1, 1, 2, 3, 7, 7, 3, 2, 1, 1, 2, 3, 7;
8, 3, 1, 2, 2, 1, 3, 8, 8, 3, 1, 2, 2, 1, 3, 8;
8, 3, 2, 1, 1, 1, 1, 2, 3, 8, 8, 3, 2, 1, 1, 1, 1, 2, 3, 8;
9, 3, 2, 1, 1, 1, 1, 2, 3, 9, ...
.
Illustration of initial terms as an infinite Dyck path (row n = 1..4):
.
.                            /\/\    /\/\
.       /\  /\  /\/\  /\/\  /    \  /    \
.  /\/\/  \/  \/    \/    \/      \/      \
.
.
Illustration of initial terms for the construction of a spiral related to sigma:
.
.  row 1     row 2          row 3           row 4
.                                          _ _ _
.                                               |_
.             _ _                                 |
.   _ _      |                                    |
.  |   |     |                                    |
.            |         |           |              |
.            |_ _      |_         _|              |
.                        |_ _ _ _|               _|
.                                          _ _ _|
.
.[1,1,1,1] [2,2,2,2] [2,1,1,2,2,1,1,2] [3,1,1,3,3,1,1,3]
.
The first 2*A003056(n) terms of the n-th row are represented in the A010883(n-1) quadrant and the last 2*A003056(n) terms of the n-th row are represented in the A010883(n) quadrant.
.
Illustration of the spiral constructed with the first 15.5 rows of triangle:
.
.               12 _ _ _ _ _ _ _ _
.                 |  _ _ _ _ _ _ _|_ _ _ _ _ _ _ 7
.                 | |             |_ _ _ _ _ _ _|
.                _| |                           |
.               |_ _|9 _ _ _ _ _ _              |_ _
.         12 _ _|     |  _ _ _ _ _|_ _ _ _ _ 5      |_
.      _ _ _| |      _| |         |_ _ _ _ _|         |
.     |  _ _ _|  9 _|_ _|                   |_ _ 3    |_ _ _ 7
.     | |      _ _| |   12 _ _ _ _          |_  |         | |
.     | |     |  _ _|    _|  _ _ _|_ _ _ 3    |_|_ _ 5    | |
.     | |     | |      _|   |     |_ _ _|         | |     | |
.     | |     | |     |  _ _|           |_ _ 3    | |     | |
.     | |     | |     | |    3 _ _        | |     | |     | |
.     | |     | |     | |     |  _|_ 1    | |     | |     | |
.    _|_|    _|_|    _|_|    _|_| |_|    _|_|    _|_|    _|_|    _
.   | |     | |     | |     | |         | |     | |     | |     | |
.   | |     | |     | |     |_|_ _     _| |     | |     | |     | |
.   | |     | |     | |    2  |_ _|_ _|  _|     | |     | |     | |
.   | |     | |     |_|_     2    |_ _ _|    _ _| |     | |     | |
.   | |     | |    4    |_               7 _|  _ _|     | |     | |
.   | |     |_|_ _        |_ _ _ _        |  _|    _ _ _| |     | |
.   | |    6      |_      |_ _ _ _|_ _ _ _| |    _|    _ _|     | |
.   |_|_ _ _        |_   4        |_ _ _ _ _|  _|     |    _ _ _| |
.  8      | |_ _      |                     15|      _|   |  _ _ _|
.         |_    |     |_ _ _ _ _ _            |  _ _|    _| |
.        8  |_  |_    |_ _ _ _ _ _|_ _ _ _ _ _| |      _|  _|
.             |_ _|  6            |_ _ _ _ _ _ _|  _ _|  _|
.                 |                             28|  _ _|
.                 |_ _ _ _ _ _ _ _                | |
.                 |_ _ _ _ _ _ _ _|_ _ _ _ _ _ _ _| |
.                8                |_ _ _ _ _ _ _ _ _|
.                                                    31
.
The diagram contains A237590(16) = 27 parts.
The total area (also the total number of cells) in the n-th arm of the spiral is equal to sigma(n) = A000203(n), considering every quadrant and the axes x and y. (checked by hand up to row n = 128). The parts of the spiral are in A237270: 1, 3, 2, 2, 7...
Diagram extended by _Omar E. Pol_, Aug 23 2018
		

Crossrefs

Row n has length 4*A003056(n).
The sum of row n is equal to 4*n = A008586(n).
Row n is a palindromic composition of 4*n = A008586(n).
Both column 1 and right border are A008619, n >= 1.
The connection between A196020 and A237270 is as follows: A196020 --> A236104 --> A235791 --> A237591 --> A237593 --> this sequence --> A237270.

A062731 Sum of divisors of 2*n.

Original entry on oeis.org

3, 7, 12, 15, 18, 28, 24, 31, 39, 42, 36, 60, 42, 56, 72, 63, 54, 91, 60, 90, 96, 84, 72, 124, 93, 98, 120, 120, 90, 168, 96, 127, 144, 126, 144, 195, 114, 140, 168, 186, 126, 224, 132, 180, 234, 168, 144, 252, 171, 217, 216, 210, 162, 280, 216, 248, 240, 210
Offset: 1

Views

Author

Jason Earls, Jul 11 2001

Keywords

Comments

a(n) is also the total number of parts in all partitions of 2*n into equal parts. - Omar E. Pol, Feb 14 2021

Crossrefs

Sigma(k*n): A000203 (k=1), A144613 (k=3), A193553 (k=4, even bisection), A283118 (k=5), A224613 (k=6), A283078 (k=7), A283122 (k=8), A283123 (k=9).
Cf. A008438, A074400, A182818, A239052 (odd bisection), A326124 (partial sums), A054784, A215947, A336923, A346870, A346878, A346880, A355750.
Row 2 of A319526. Column & Row 2 of A216626. Row 1 of A355927.
Shallow diagonal (2n,n) of A265652. See also A244658.

Programs

Formula

a(n) = A000203(2*n). - R. J. Mathar, Apr 06 2011
a(n) = A000203(n) + A054785(n). - R. J. Mathar, May 19 2020
From Vaclav Kotesovec, Aug 07 2022: (Start)
Dirichlet g.f.: zeta(s) * zeta(s-1) * (3 - 2^(1-s)).
Sum_{k=1..n} a(k) ~ 5 * Pi^2 * n^2 / 24. (End)
From Miles Wilson, Sep 30 2024: (Start)
G.f.: Sum_{k>=1} k*x^(k/gcd(k, 2))/(1 - x^(k/gcd(k, 2))).
G.f.: Sum_{k>=1} k*x^(2*k/(3 + (-1)^k))/(1 - x^(2*k/(3 + (-1)^k))). (End)

Extensions

Zero removed and offset corrected by Omar E. Pol, Jul 17 2009

A239050 a(n) = 4*sigma(n).

Original entry on oeis.org

4, 12, 16, 28, 24, 48, 32, 60, 52, 72, 48, 112, 56, 96, 96, 124, 72, 156, 80, 168, 128, 144, 96, 240, 124, 168, 160, 224, 120, 288, 128, 252, 192, 216, 192, 364, 152, 240, 224, 360, 168, 384, 176, 336, 312, 288, 192, 496, 228, 372, 288, 392, 216, 480, 288, 480, 320, 360, 240, 672, 248, 384, 416, 508
Offset: 1

Views

Author

Omar E. Pol, Mar 09 2014

Keywords

Comments

4 times the sum of divisors of n.
a(n) is also the total number of horizontal cells in the terraces of the n-th level of an irregular stepped pyramid (starting from the top) where the structure of every three-dimensional quadrant arises after the 90-degree zig-zag folding of every row of the diagram of the isosceles triangle A237593. The top of the pyramid is a square formed by four cells (see links and examples). - Omar E. Pol, Jul 04 2016

Examples

			For n = 4 the sum of divisors of 4 is 1 + 2 + 4 = 7, so a(4) = 4*7 = 28.
For n = 5 the sum of divisors of 5 is 1 + 5 = 6, so a(5) = 4*6 = 24.
.
Illustration of initial terms:                                    _ _ _ _ _ _
.                                           _ _ _ _ _ _          |_|_|_|_|_|_|
.                           _ _ _ _       _|_|_|_|_|_|_|_     _ _|           |_ _
.             _ _ _ _     _|_|_|_|_|_    |_|_|       |_|_|   |_|               |_|
.     _ _    |_|_|_|_|   |_|       |_|   |_|           |_|   |_|               |_|
.    |_|_|   |_|   |_|   |_|       |_|   |_|           |_|   |_|               |_|
.    |_|_|   |_|_ _|_|   |_|       |_|   |_|           |_|   |_|               |_|
.            |_|_|_|_|   |_|_ _ _ _|_|   |_|_         _|_|   |_|               |_|
.                          |_|_|_|_|     |_|_|_ _ _ _|_|_|   |_|_             _|_|
.                                          |_|_|_|_|_|_|         |_ _ _ _ _ _|
.                                                                |_|_|_|_|_|_|
.
n:     1          2             3                4                     5
S(n):  1          3             4                7                     6
a(n):  4         12            16               28                    24
.
For n = 1..5, the figure n represents the reflection in the four quadrants of the symmetric representation of S(n) = sigma(n) = A000203(n). For more information see A237270 and A237593.
The diagram also represents the top view of the first four terraces of the stepped pyramid described in Comments section. - _Omar E. Pol_, Jul 04 2016
		

Crossrefs

Alternating row sums of A239662.
Partial sums give A243980.
k times sigma(n), k=1..6: A000203, A074400, A272027, this sequence, A274535, A274536.
k times sigma(n), k = 1..10: A000203, A074400, A272027, this sequence, A274535, A274536, A319527, A319528, A325299, A326122.

Programs

  • Magma
    [4*SumOfDivisors(n): n in [1..70]]; // Vincenzo Librandi, Jul 30 2019
  • Maple
    with(numtheory): seq(4*sigma(n), n=1..64); # Omar E. Pol, Jul 04 2016
  • Mathematica
    Array[4 DivisorSigma[1, #] &, 64] (* Michael De Vlieger, Nov 16 2017 *)
  • PARI
    a(n) = 4 * sigma(n); \\ Omar E. Pol, Jul 04 2016
    

Formula

a(n) = 4*A000203(n) = 2*A074400(n).
a(n) = A000203(n) + A272027(n). - Omar E. Pol, Jul 04 2016
Dirichlet g.f.: 4*zeta(s-1)*zeta(s). - Ilya Gutkovskiy, Jul 04 2016
Conjecture: a(n) = sigma(3*n) = A144613(n) iff n is not a multiple of 3. - Omar E. Pol, Oct 02 2018
The conjecture above is correct. Write n = 3^e*m, gcd(3, m) = 1, then sigma(3*n) = sigma(3^(e+1))*sigma(m) = ((3^(e+2) - 1)/2)*sigma(m) = ((3^(e+2) - 1)/(3^(e+1) - 1))*sigma(3^e*m), and (3^(e+2) - 1)/(3^(e+1) - 1) = 4 if and only if e = 0. - Jianing Song, Feb 03 2019

A239932 Triangle read by rows in which row n lists the parts of the symmetric representation of sigma(4n-2).

Original entry on oeis.org

3, 12, 9, 9, 12, 12, 39, 18, 18, 21, 21, 72, 27, 27, 30, 30, 96, 36, 36, 39, 15, 39, 120, 45, 45, 48, 48, 144, 54, 36, 54, 57, 57, 84, 84, 63, 63, 66, 66, 234, 72, 72, 75, 21, 75, 108, 108, 81, 81, 84, 48, 84, 120, 120, 90, 90, 93, 93, 312
Offset: 1

Views

Author

Omar E. Pol, Mar 29 2014

Keywords

Comments

Row n is a palindromic composition of sigma(4n-2).
Row n is also the row 4n-2 of A237270.
Row n has length A237271(4n-2).
Row sums give A239052.
Also row n lists the parts of the symmetric representation of sigma in the n-th arm of the second quadrant of the spiral described in A239660, see example.
For the parts of the symmetric representation of sigma(4n-3), see A239931.
For the parts of the symmetric representation of sigma(4n-1), see A239933.
For the parts of the symmetric representation of sigma(4n), see A239934.
We can find the spiral (mentioned above) on the terraces of the pyramid described in A244050. - Omar E. Pol, Dec 06 2016

Examples

			The irregular triangle begins:
3;
12;
9, 9;
12, 12;
39;
18, 18;
21, 21;
72;
27, 27;
30, 30;
96;
36, 36;
39, 15, 39;
120;
45, 45;
48, 48;
...
Illustration of initial terms in the second quadrant of the spiral described in A239660:
.                                 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.                                |  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
.                                | |
.                                | |
.                                | |  _ _ _ _ _ _ _ _ _ _ _ _ _ _
.                           _ _ _| | |  _ _ _ _ _ _ _ _ _ _ _ _ _|
.                          |       | | |
.                       _ _|  _ _ _| | |
.                  72 _|     |       | |  _ _ _ _ _ _ _ _ _ _ _ _
.                   _|      _| 21 _ _| | |  _ _ _ _ _ _ _ _ _ _ _|
.                  |      _|     |_ _ _| | |
.               _ _|    _|    _ _|       | |
.              |    _ _|    _|     18 _ _| |  _ _ _ _ _ _ _ _ _ _
.              |   |       |         |_ _ _| |  _ _ _ _ _ _ _ _ _|
.     _ _ _ _ _|   | 21 _ _|        _|       | |
.    |  _ _ _ _ _ _|   | |        _|      _ _| |
.    | |      _ _ _ _ _| | 18 _ _|       |     |  _ _ _ _ _ _ _ _
.    | |     |  _ _ _ _ _|   | |     39 _|  _ _| |  _ _ _ _ _ _ _|
.    | |     | |      _ _ _ _| |    _ _|  _|     | |
.    | |     | |     |  _ _ _ _|   |    _|   12 _| |
.    | |     | |     | |      _ _ _|   |       |_ _|  _ _ _ _ _ _
.    | |     | |     | |     |  _ _ _ _| 12 _ _|     |  _ _ _ _ _|
.    | |     | |     | |     | |      _ _ _| |    9 _| |
.    | |     | |     | |     | |     |  _ _ _|  9 _|_ _|
.    | |     | |     | |     | |     | |      _ _| |      _ _ _ _
.    | |     | |     | |     | |     | |     |  _ _| 12 _|  _ _ _|
.    | |     | |     | |     | |     | |     | |      _|   |
.    | |     | |     | |     | |     | |     | |     |  _ _|
.    | |     | |     | |     | |     | |     | |     | |    3 _ _
.    | |     | |     | |     | |     | |     | |     | |     |  _|
.    |_|     |_|     |_|     |_|     |_|     |_|     |_|     |_|
.
For n = 7 we have that 4*7-2 = 26 and the 26th row of A237593 is [14, 5, 2, 2, 2, 1, 1, 2, 2, 2, 5, 14] and the 25th row of A237593 is [13, 5, 3, 1, 2, 1, 1, 2, 1, 3, 5, 13] therefore between both Dyck paths there are two regions (or parts) of sizes [21, 21], so row 7 is [21, 21].
The sum of divisors of 26 is 1 + 2 + 13 + 26 = A000203(26) = 42. On the other hand the sum of the parts of the symmetric representation of sigma(26) is 21 + 21 = 42, equaling the sum of divisors of 26.
		

Crossrefs

A112610 Number of representations of n as a sum of two squares and two triangular numbers.

Original entry on oeis.org

1, 6, 13, 14, 18, 32, 31, 30, 48, 38, 42, 78, 57, 54, 80, 62, 84, 96, 74, 96, 121, 108, 90, 128, 98, 102, 192, 110, 114, 182, 133, 156, 176, 160, 138, 192, 180, 150, 234, 158, 192, 288, 183, 174, 240, 182, 228, 320, 194, 198, 272, 252, 240, 288, 256, 252, 403, 230
Offset: 0

Views

Author

James Sellers, Dec 21 2005

Keywords

Comments

Also row sums of A239931, hence the sequence has a symmetric representation. - Omar E. Pol, Aug 30 2015

Examples

			a(1) = 6 since we can write 1 = 1^2 + 0^2 + 0 + 0 = (-1)^2 + 0^2 + 0 + 0 = 0^2 + 1^2 + 0 + 0 = 0^2 + (-1)^2 + 0 + 0 = 0^2 + 0^2 + 1 + 0 = 0^2 + 0^2 + 0 + 1
		

Crossrefs

Programs

  • Magma
    [DivisorSigma(1, 4*n+1): n in [0..60]]; // Vincenzo Librandi, Sep 18 2015
  • Mathematica
    Table[DivisorSigma[1, 4 n + 1], {n, 0, 57}] (* Michael De Vlieger, Aug 31 2015 *)
  • PARI
    {a(n)=local(A); if(n<0, 0, A=x*O(x^n); polcoeff( eta(x^2+A)^14/eta(x+A)^6/eta(x^4+A)^4, n))} /* Michael Somos, Jul 04 2006 */
    

Formula

a(n) = sigma(4n+1) where sigma(n) = A000203(n) is the sum of the divisors of n.
Euler transform of period 4 sequence [ 6, -8, 6, -4, ...]. - Michael Somos, Jul 04 2006
Expansion of q^(-1/4)eta^14(q^2)/(eta^6(q)eta^4(q^4)) in powers of q. - Michael Somos, Jul 04 2006
Expansion of psi(q)^2*phi(q)^2, i.e., convolution of A004018 and A008441 [Hirschhorn]. - R. J. Mathar, Mar 24 2011
Sum_{k=0..n} a(k) = (Pi^2/4) * n^2 + O(n*log(n)). - Amiram Eldar, Dec 17 2022

A239053 Sum of divisors of 4*n-1.

Original entry on oeis.org

4, 8, 12, 24, 20, 24, 40, 32, 48, 56, 44, 48, 72, 72, 60, 104, 68, 72, 124, 80, 84, 120, 112, 120, 156, 104, 108, 152, 144, 144, 168, 128, 132, 240, 140, 168, 228, 152, 192, 216, 164, 168, 260, 248, 180, 248, 216, 192, 336, 200, 240, 312, 212, 264, 296
Offset: 1

Views

Author

Omar E. Pol, Mar 09 2014

Keywords

Comments

Bisection of A008438.
a(n) is also the total number of cells in the n-th branch of the third quadrant of the spiral formed by the parts of the symmetric representation of sigma(4n-1), see example. For the quadrants 1, 2, 4 see A112610, A239052, A193553. The spiral has been obtained according to the following way: A196020 --> A236104 --> A235791 --> A237591 --> A237593 --> A237270.
We can find the spiral (mentioned above) on the terraces of the pyramid described in A244050. - Omar E. Pol, Dec 06 2016

Examples

			Illustration of initial terms:
-----------------------------------------------------
.        Branches of the spiral
.        in the third quadrant             n    a(n)
-----------------------------------------------------
.     _       _       _       _
.    | |     | |     | |     | |
.    | |     | |     | |     |_|_ _
.    | |     | |     | |    2  |_ _|       1      4
.    | |     | |     |_|_     2
.    | |     | |    4    |_
.    | |     |_|_ _        |_ _ _ _
.    | |    6      |_      |_ _ _ _|       2      8
.    |_|_ _ _        |_   4
.   8      | |_ _      |
.          |_    |     |_ _ _ _ _ _
.            |_  |_    |_ _ _ _ _ _|       3     12
.           8  |_ _|  6
.                  |
.                  |_ _ _ _ _ _ _ _
.                  |_ _ _ _ _ _ _ _|       4     24
.                 8
.
For n = 4 the sum of divisors of 4*n-1 is 1 + 3 + 5 + 15 = A000203(15) = 24. On the other hand the parts of the symmetric representation of sigma(15) are [8, 8, 8] and the sum of them is 8 + 8 + 8 = 24, equaling the sum of divisors of 15, so a(4) = 24.
		

Crossrefs

Programs

Formula

a(n) = A000203(4n-1) = A000203(A004767(n-1)).
a(n) = 4*A097723(n-1). - Joerg Arndt, Mar 09 2014
Sum_{k=1..n} a(k) = (Pi^2/4) * n^2 + O(n*log(n)). - Amiram Eldar, Dec 17 2022

A252922 a(n) = sigma(n-1) + sigma(n-2) + sigma(n-3), with a(1)=0, a(2)=1, a(3)=4.

Original entry on oeis.org

0, 1, 4, 8, 14, 17, 25, 26, 35, 36, 46, 43, 58, 54, 66, 62, 79, 73, 88, 77, 101, 94, 110, 92, 120, 115, 133, 113, 138, 126, 158, 134, 167, 143, 165, 150, 193, 177, 189, 154, 206, 188, 228, 182, 224, 206, 234, 198, 244, 229, 274, 222, 263, 224, 272, 246, 312, 272, 290, 230, 318, 290, 326, 262, 327, 315, 355, 296
Offset: 1

Views

Author

Omar E. Pol, Dec 24 2014

Keywords

Comments

This is also a rectangular array read by rows, with four columns, in which T(j,k) is the number of cells (also the area) of the j-th gap between the arms in the k-th quadrant of the spiral of the symmetric representation of sigma described in A239660, with j >= 1 and 1 <= k <= 4 and starting with T(1,1) = 0, see example.
We can find the spiral (mentioned above) on the terraces of the stepped pyramid described in A244050. - Omar E. Pol, Dec 07 2016

Examples

			a(5) = sigma(4) + sigma(3) + sigma(2) = 7 + 4 + 3 = 14. On the other hand a(5) = A024916(4) - A024916(1) = 15 - 1 = 14.
...
Also, if written as a rectangular array T(j,k) with four columns the sequence begins:
    0,   1,   4,   8;
   14,  17,  25,  26;
   35,  36,  46,  43;
   58,  54,  66,  62;
   79,  73,  88,  77;
  101,  94, 110,  92;
  120, 115, 133, 113;
  138, 126, 158, 134;
  167, 143, 165, 150;
  193, 177, 189, 154;
  206, 188, 228, 182;
  224, 206, 234, 198;
  244, 229, 274, 222;
  263, 224, 272, 246;
  312, 272, 290, 230;
  318, 290, 326, 262;
  ...
In this case T(2,1) = a(5) = 14.
		

Crossrefs

Programs

  • Maple
    L:= [0,0,0,seq(numtheory:-sigma(n), n=1..100)]:
    L[1..101]+L[2..102]+L[3..103]; # Robert Israel, Dec 07 2016
  • Mathematica
    a252922[n_] := Block[{f}, f[1] = 0; f[2] = 1; f[3] = 4;
      f[x_] := DivisorSigma[1, x - 1] + DivisorSigma[1, x - 2] +
    DivisorSigma[1, x - 3]; Table[f[i], {i, n}]]; a252922[68] (* Michael De Vlieger, Dec 27 2014 *)
  • PARI
    v=concat([0,1,4],vector(100,n,sigma(n)+sigma(n+1)+sigma(n+2))) \\ Derek Orr, Dec 30 2014

Formula

a(1) = 0, a(2) = sigma(1) = 1, a(3) = sigma(2) + sigma(1) = 4; for n >= 4, a(n) = sigma(n-1) + sigma(n-2) + sigma(n-3).
a(n) = A024916(n-1) - A024916(n-4) for n >= 5.
Showing 1-7 of 7 results.