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

A262626 Visible parts of the perspective view of the stepped pyramid whose structure essentially arises after the 90-degree-zig-zag folding of the isosceles triangle A237593.

Original entry on oeis.org

1, 1, 1, 3, 2, 2, 2, 2, 2, 1, 1, 2, 7, 3, 1, 1, 3, 3, 3, 3, 2, 2, 3, 12, 4, 1, 1, 1, 1, 4, 4, 4, 4, 2, 1, 1, 2, 4, 15, 5, 2, 1, 1, 2, 5, 5, 3, 5, 5, 2, 2, 2, 2, 5, 9, 9, 6, 2, 1, 1, 1, 1, 2, 6, 6, 6, 6, 3, 1, 1, 1, 1, 3, 6, 28, 7, 2, 2, 1, 1, 2, 2, 7, 7, 7, 7, 3, 2, 1, 1, 2, 3, 7, 12, 12, 8, 3, 1, 2, 2, 1, 3, 8, 8, 8, 8, 8, 3, 2, 1, 1
Offset: 1

Views

Author

Omar E. Pol, Sep 26 2015

Keywords

Comments

Also the rows of both triangles A237270 and A237593 interleaved.
Also, irregular triangle read by rows in which T(n,k) is the area of the k-th region (from left to right in ascending diagonal) of the n-th symmetric set of regions (from the top to the bottom in descending diagonal) in the two-dimensional diagram of the perspective view of the infinite stepped pyramid described in A245092 (see the diagram in the Links section).
The diagram of the symmetric representation of sigma is also the top view of the pyramid, see Links section. For more information about the diagram see also A237593 and A237270.
The number of cubes at the n-th level is also A024916(n), the sum of all divisors of all positive integers <= n.
Note that this pyramid is also a quarter of the pyramid described in A244050. Both pyramids have infinitely many levels.
Odd-indexed rows are also the rows of the irregular triangle A237270.
Even-indexed rows are also the rows of the triangle A237593.
Lengths of the odd-indexed rows are in A237271.
Lengths of the even-indexed rows give 2*A003056.
Row sums of the odd-indexed rows gives A000203, the sum of divisors function.
Row sums of the even-indexed rows give the positive even numbers (see A005843).
Row sums give A245092.
From the front view of the stepped pyramid emerges a geometric pattern which is related to A001227, the number of odd divisors of the positive integers.
The connection with the odd divisors of the positive integers is as follows: A261697 --> A261699 --> A237048 --> A235791 --> A237591 --> A237593 --> A237270 --> this sequence.

Examples

			Irregular triangle begins:
  1;
  1, 1;
  3;
  2, 2;
  2, 2;
  2, 1, 1, 2;
  7;
  3, 1, 1, 3;
  3, 3;
  3, 2, 2, 3;
  12;
  4, 1, 1, 1, 1, 4;
  4, 4;
  4, 2, 1, 1, 2, 4;
  15;
  5, 2, 1, 1, 2, 5;
  5, 3, 5;
  5, 2, 2, 2, 2, 5;
  9, 9;
  6, 2, 1, 1, 1, 1, 2, 6;
  6, 6;
  6, 3, 1, 1, 1, 1, 3, 6;
  28;
  7, 2, 2, 1, 1, 2, 2, 7;
  7, 7;
  7, 3, 2, 1, 1, 2, 3, 7;
  12, 12;
  8, 3, 1, 2, 2, 1, 3, 8;
  8, 8, 8;
  8, 3, 2, 1, 1, 1, 1, 2, 3, 8;
  31;
  9, 3, 2, 1, 1, 1, 1, 2, 3, 9;
  ...
Illustration of the odd-indexed rows of triangle as the diagram of the symmetric representation of sigma which is also the top view of the stepped pyramid:
.
   n  A000203    A237270    _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
   1     1   =      1      |_| | | | | | | | | | | | | | | |
   2     3   =      3      |_ _|_| | | | | | | | | | | | | |
   3     4   =    2 + 2    |_ _|  _|_| | | | | | | | | | | |
   4     7   =      7      |_ _ _|    _|_| | | | | | | | | |
   5     6   =    3 + 3    |_ _ _|  _|  _ _|_| | | | | | | |
   6    12   =     12      |_ _ _ _|  _| |  _ _|_| | | | | |
   7     8   =    4 + 4    |_ _ _ _| |_ _|_|    _ _|_| | | |
   8    15   =     15      |_ _ _ _ _|  _|     |  _ _ _|_| |
   9    13   =  5 + 3 + 5  |_ _ _ _ _| |      _|_| |  _ _ _|
  10    18   =    9 + 9    |_ _ _ _ _ _|  _ _|    _| |
  11    12   =    6 + 6    |_ _ _ _ _ _| |  _|  _|  _|
  12    28   =     28      |_ _ _ _ _ _ _| |_ _|  _|
  13    14   =    7 + 7    |_ _ _ _ _ _ _| |  _ _|
  14    24   =   12 + 12   |_ _ _ _ _ _ _ _| |
  15    24   =  8 + 8 + 8  |_ _ _ _ _ _ _ _| |
  16    31   =     31      |_ _ _ _ _ _ _ _ _|
  ...
The above diagram arises from a simpler diagram as shown below.
Illustration of the even-indexed rows of triangle as the diagram of the deployed front view of the corner of the stepped pyramid:
.
.                                 A237593
Level                               _ _
1                                 _|1|1|_
2                               _|2 _|_ 2|_
3                             _|2  |1|1|  2|_
4                           _|3   _|1|1|_   3|_
5                         _|3    |2 _|_ 2|    3|_
6                       _|4     _|1|1|1|1|_     4|_
7                     _|4      |2  |1|1|  2|      4|_
8                   _|5       _|2 _|1|1|_ 2|_       5|_
9                 _|5        |2  |2 _|_ 2|  2|        5|_
10              _|6         _|2  |1|1|1|1|  2|_         6|_
11            _|6          |3   _|1|1|1|1|_   3|          6|_
12          _|7           _|2  |2  |1|1|  2|  2|_           7|_
13        _|7            |3    |2 _|1|1|_ 2|    3|            7|_
14      _|8             _|3   _|1|2 _|_ 2|1|_   3|_             8|_
15    _|8              |3    |2  |1|1|1|1|  2|    3|              8|_
16   |9                |3    |2  |1|1|1|1|  2|    3|                9|
...
The number of horizontal line segments in the n-th level in each side of the diagram equals A001227(n), the number of odd divisors of n.
The number of horizontal line segments in the left side of the diagram plus the number of the horizontal line segment in the right side equals A054844(n).
The total number of vertical line segments in the n-th level of the diagram equals A131507(n).
The diagram represents the first 16 levels of the pyramid.
The diagram of the isosceles triangle and the diagram of the top view of the pyramid shows the connection between the partitions into consecutive parts and the sum of divisors function (see also A286000 and A286001). - _Omar E. Pol_, Aug 28 2018
The connection between the isosceles triangle and the stepped pyramid is due to the fact that this object can also be interpreted as a pop-up card. - _Omar E. Pol_, Nov 09 2022
		

Crossrefs

Famous sequences that are visible in the stepped pyramid:
Cf. A000040 (prime numbers)......., for the characteristic shape see A346871.
Cf. A000079 (powers of 2)........., for the characteristic shape see A346872.
Cf. A000203 (sum of divisors)....., total area of the terraces in the n-th level.
Cf. A000217 (triangular numbers).., for the characteristic shape see A346873.
Cf. A000225 (Mersenne numbers)...., for a visualization see A346874.
Cf. A000384 (hexagonal numbers)..., for the characteristic shape see A346875.
Cf. A000396 (perfect numbers)....., for the characteristic shape see A346876.
Cf. A000668 (Mersenne primes)....., for a visualization see A346876.
Cf. A001097 (twin primes)........., for a visualization see A346871.
Cf. A001227 (# of odd divisors)..., number of subparts in the n-th level.
Cf. A002378 (oblong numbers)......, for a visualization see A346873.
Cf. A008586 (multiples of 4)......, perimeters of the successive levels.
Cf. A008588 (multiples of 6)......, for the characteristic shape see A224613.
Cf. A013661 (zeta(2))............., (area of the horizontal faces)/(n^2), n -> oo.
Cf. A014105 (second hexagonals)..., for the characteristic shape see A346864.
Cf. A067742 (# of middle divisors), # cells in the main diagonal in n-th level.
Apart from zeta(2) other constants that are related to the stepped pyramid are A072691, A353908, A354238.

A007606 Take 1, skip 2, take 3, etc.

Original entry on oeis.org

1, 4, 5, 6, 11, 12, 13, 14, 15, 22, 23, 24, 25, 26, 27, 28, 37, 38, 39, 40, 41, 42, 43, 44, 45, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 137, 138
Offset: 1

Views

Author

Keywords

Comments

List the natural numbers: 1, 2, 3, 4, 5, 6, 7, ... . Keep the first number (1), delete the next two numbers (2, 3), keep the next three numbers (4, 5, 6), delete the next four numbers (7, 8, 9, 10) and so on.
a(A000290(n)) = A000384(n). - Reinhard Zumkeller, Feb 12 2011
A057211(a(n)) = 1. - Reinhard Zumkeller, Dec 30 2011
Numbers k with the property that the smallest Dyck path of the symmetric representation of sigma(k) has a central valley. (Cf. A237593.) - Omar E. Pol, Aug 28 2018
Union of nonzero terms of A000384 and A317304. - Omar E. Pol, Aug 29 2018
The values of k such that, in a listing of all congruence classes of positive integers, the k-th congruence class contains k. Here the class r mod m (with r in {1,...,m}) precedes the class r' mod m' (with r' in {1,...,m'}) iff mA360418. - James Propp, Feb 10 2023

Examples

			From _Omar E. Pol_, Aug 29 2018: (Start)
Written as an irregular triangle in which the row lengths are the odd numbers the sequence begins:
    1;
    4,   5,   6;
   11,  12,  13,  14,  15;
   22,  23,  24,  25,  26,  27,  28;
   37,  38,  39,  40,  41,  42,  43,  44,  45;
   56,  57,  58,  59,  60,  61,  62 , 63,  64,  65,  66;
   79,  80,  81,  82 , 83,  84,  85,  86,  87,  88,  89,  90,  91;
  106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120;
...
Row sums give A005917.
Column 1 gives A084849.
Column 2 gives A096376, n >= 1.
Right border gives A000384, n >= 1.
(End)
		

References

  • C. Dumitrescu & V. Seleacu, editors, Some Notions and Questions in Number Theory, Vol. I, Erhus Publ., Glendale, 1994.
  • R. Honsberger, Mathematical Gems III, M.A.A., 1985, p. 177.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • F. Smarandache, Properties of Numbers, 1972.

Crossrefs

Programs

  • Haskell
    a007606 n = a007606_list !! (n-1)
    a007606_list = takeSkip 1 [1..] where
       takeSkip k xs = take k xs ++ takeSkip (k + 2) (drop (2*k + 1) xs)
    -- Reinhard Zumkeller, Feb 12 2011
  • Mathematica
    Flatten[ Table[i, {j, 1, 17, 2}, {i, j(j - 1)/2 + 1, j(j + 1)/2}]] (* Robert G. Wilson v, Mar 11 2004 *)
    Join[{1},Flatten[With[{nn=20},Range[#[[1]],Total[#]]&/@Take[Thread[ {Accumulate[ Range[nn]]+1,Range[nn]}],{2,-1,2}]]]] (* Harvey P. Dale, Jun 23 2013 *)
    With[{nn=20},Take[TakeList[Range[(nn(nn+1))/2],Range[nn]],{1,nn,2}]]//Flatten (* Harvey P. Dale, Feb 10 2023 *)
  • PARI
    for(n=1,66,m=sqrtint(n-1);print1(n+m*(m+1),","))
    

Formula

a(n) = n + m*(m+1) where m = floor(sqrt(n-1)). - Klaus Brockhaus, Mar 26 2004
a(n+1) = a(n) + if n=k^2 then 2*k+1 else 1; a(1) = 1. - Reinhard Zumkeller, May 13 2009

A317303 Numbers k such that both Dyck paths of the symmetric representation of sigma(k) have a central peak.

Original entry on oeis.org

2, 7, 8, 9, 16, 17, 18, 19, 20, 29, 30, 31, 32, 33, 34, 35, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 154, 155, 156, 157, 158, 159, 160
Offset: 1

Views

Author

Omar E. Pol, Aug 27 2018

Keywords

Comments

Also triangle read by rows which gives the odd-indexed rows of triangle A014132.
There are no triangular number (A000217) in this sequence.
For more information about the symmetric representation of sigma see A237593 and its related sequences.
Equivalently, numbers k with the property that both Dyck paths of the symmetric representation of sigma(k) have an odd number of peaks. - Omar E. Pol, Sep 13 2018

Examples

			Written as an irregular triangle in which the row lengths are the odd numbers, the sequence begins:
    2;
    7,   8,   9;
   16,  17,  18,  19,  20;
   29,  30,  31,  32,  33,  34,  35;
   46,  47,  48,  49,  50,  51,  52,  53,  54;
   67,  68,  69,  70,  71,  72,  73,  74,  75,  76,  77;
   92,  93,  94,  95,  96,  97,  98,  99, 100, 101, 102, 103, 104;
  121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135;
...
Illustration of initial terms:
-----------------------------------------------------------
   k   sigma(k)   Diagram of the symmetry of sigma
-----------------------------------------------------------
                    _         _ _ _             _ _ _ _ _
                  _| |       | | | |           | | | | | |
   2      3      |_ _|       | | | |           | | | | | |
                             | | | |           | | | | | |
                            _|_| | |           | | | | | |
                          _|  _ _|_|           | | | | | |
                  _ _ _ _|  _| |               | | | | | |
   7      8      |_ _ _ _| |_ _|               | | | | | |
   8     15      |_ _ _ _ _|              _ _ _| | | | | |
   9     13      |_ _ _ _ _|             |  _ _ _|_| | | |
                                        _| |    _ _ _|_| |
                                      _|  _|   |  _ _ _ _|
                                  _ _|  _|  _ _| |
                                 |  _ _|  _|    _|
                                 | |     |     |
                  _ _ _ _ _ _ _ _| |  _ _|  _ _|
  16     31      |_ _ _ _ _ _ _ _ _| |  _ _|
  17     18      |_ _ _ _ _ _ _ _ _| | |
  18     39      |_ _ _ _ _ _ _ _ _ _| |
  19     20      |_ _ _ _ _ _ _ _ _ _| |
  20     42      |_ _ _ _ _ _ _ _ _ _ _|
.
For the first nine terms of the sequence we can see in the above diagram that both Dyck path (the smallest and the largest) of the symmetric representation of sigma(k) have a central peak.
Compare with A317304.
		

Crossrefs

Column 1 gives A130883, n >= 1.
Column 2 gives A033816, n >= 1.
Row sums give the odd-indexed terms of A006002.
Right border gives the positive terms of A014107, also the odd-indexed terms of A000096.
The union of A000217, A317304 and this sequence gives A001477.
Some other sequences related to the central peak or the central valley of the symmetric representation of sigma are A000217, A000384, A007606, A007607, A014105, A014132, A162917, A161983, A317304. See also A317306.

A161983 Irregular triangle read by rows: the group of 2n + 1 integers starting at A014105(n).

Original entry on oeis.org

0, 3, 4, 5, 10, 11, 12, 13, 14, 21, 22, 23, 24, 25, 26, 27, 36, 37, 38, 39, 40, 41, 42, 43, 44, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 136, 137
Offset: 0

Views

Author

Juri-Stepan Gerasimov, Jun 23 2009

Keywords

Comments

The squares of numbers in each row can be gathered in an equation with the first n terms on one side, the next n+1 terms on the other. The third row, for example, could be rendered as 10^2 + 11^2 + 12^2 = 13^2 + 14^2.
This sequence contains all nonnegative integers that are within a distance of n from 2n^2 + 2n where n is any nonnegative integer. The nonnegative integers that are not in this sequence are of the form 2n^2 + k where n is any positive integer and -n <= k <= n-1. Also, when n is the product of two consecutive integers, a(n) = 2n; for example, a(20) = 40. See explicit formulas for the sequence in the formula section below. - Dennis P. Walsh, Aug 09 2013
Numbers k with the property that the largest Dyck path of the symmetric representation of sigma(k) has a central valley, n > 0. (Cf. A237593.) - Omar E. Pol, Aug 28 2018

Examples

			Triangle begins:
   0;
   3,  4,  5;
  10, 11, 12, 13, 14;
  21, 22, 23, 24, 25, 26, 27;
  36, 37, 38, 39, 40, 41, 42, 43, 44;
  55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65;
  78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90;
...
		

Crossrefs

Union of A014105 and A317304.
The complement is A162917.
Column 1 gives A014105.
Right border gives A014106.
Row sums give the even-indexed terms of A027480.

Programs

  • Maple
    seq(seq(2*n^2+2*n+k,k=-n..n),n=0..10); # Dennis P. Walsh, Aug 09 2013
    seq(n+floor(sqrt(n))*(floor(sqrt(n))+1),n=0..100); # Dennis P. Walsh, Aug 09 2013

Formula

As a triangle, T(n,k) = 2n^2 + 2n + k where -n <= k <= n and n = 0,1,... - Dennis P. Walsh, Aug 09 2013
As sequence, a(n) = n + floor(sqrt(n))*(floor(sqrt(n)) + 1); equivalently, a(n) = n + A000196(n)*(A000196(n)+1). - Dennis P. Walsh, Aug 09 2013

Extensions

Definition clarified, 8th row terms corrected by R. J. Mathar, Jul 19 2009

A317309 Primes p such that the largest Dyck path of the symmetric representation of sigma(p) has a central valley.

Original entry on oeis.org

3, 5, 11, 13, 23, 37, 41, 43, 59, 61, 79, 83, 89, 107, 109, 113, 137, 139, 149, 151, 173, 179, 181, 211, 223, 227, 229, 257, 263, 269, 271, 307, 311, 313, 317, 353, 359, 367, 373, 409, 419, 421, 431, 433, 467, 479, 487, 491, 541, 547, 557, 599, 601, 607, 613, 617, 619, 673, 677, 683, 691, 701
Offset: 1

Views

Author

Omar E. Pol, Aug 29 2018

Keywords

Comments

Except for the first term 3, primes p such that both Dyck paths of the symmetric representation of sigma(p) have a central valley.
Note that the symmetric representation of sigma of an odd prime consists of two perpendicular bars connected by an irregular zig-zag path (see example).
Odd primes and the terms of this sequence are easily identifiable in the pyramid described in A245092 (see Links section).
For more information about the mentioned Dyck paths see A237593.
Equivalently, primes p such that the largest Dyck path of the symmetric representation of sigma(p) has an even number of peaks.

Examples

			Illustration of initial terms:
-------------------------------------------------
   p  sigma(p)  Diagram of the symmetry of sigma
-------------------------------------------------
                     _   _           _   _
                    | | | |         | | | |
                 _ _|_| | |         | | | |
   3      4     |_ _|  _|_|         | | | |
                 _ _ _|             | | | |
   5      6     |_ _ _|             | | | |
                                 _ _|_| | |
                               _|    _ _|_|
                             _|     |
                            |      _|
                 _ _ _ _ _ _|  _ _|
  11     12     |_ _ _ _ _ _| |
                 _ _ _ _ _ _ _|
  13     14     |_ _ _ _ _ _ _|
.
For the first four terms of the sequence we can see in the above diagram that the largest Dyck path of the symmetric representation of sigma(p) has a central valley.
Compare with A317308.
		

Crossrefs

Primes in A161983.
Except for the first term 3, primes in A317304.
The union of A317308 and this sequence gives A000040.
Primes of the triangle of A060300. - César Aguilera, Nov 12 2020

Programs

  • Python
    from sympy import isprime
    for x in range(1,100):
         for x in range(2*x**2+2*x-(2*x//2),2*x**2+2*x+(2*x//2)+1):
               if isprime(x):
                  print(x, end=', ') # César Aguilera, Nov 12 2020

A347155 Sum of divisors of nontriangular numbers.

Original entry on oeis.org

3, 7, 6, 8, 15, 13, 12, 28, 14, 24, 31, 18, 39, 20, 42, 36, 24, 60, 31, 42, 40, 30, 72, 32, 63, 48, 54, 48, 38, 60, 56, 90, 42, 96, 44, 84, 72, 48, 124, 57, 93, 72, 98, 54, 120, 120, 80, 90, 60, 168, 62, 96, 104, 127, 84, 68, 126, 96, 144, 72, 195, 74, 114, 124, 140
Offset: 1

Views

Author

Omar E. Pol, Aug 20 2021

Keywords

Comments

The characteristic shape of the symmetric representation of a(n) consists in that in the main diagonal of the diagram both Dyck paths have the same orientation, that is both Dyck paths have peaks or both Dyck paths have valleys.
So knowing this characteristic shape we can know if a number is a nontriangular number (or not) just by looking at the diagram, even ignoring the concept of nontriangular number.
Therefore we can see a geometric pattern of the distribution of the nontriangular numbers in the stepped pyramid described in A245092.
If both Dyck paths have peaks on the main diagonal then the related subsequence of nontriangular numbers A014132 is A317303.
If both Dyck paths have valleys on the main diagonal then the related subsequence of nontriangular numbers A014132 is A317304.

Examples

			a(6) = 13 because the sum of divisors of the 6th nontriangular (i.e., 9) is 1 + 3 + 9 = 13.
On the other we can see that in the main diagonal of the diagrams both Dyck paths have the same orientation, that is both Dyck paths have peaks or both Dyck paths have valleys as shown below.
Illustration of initial terms:
m(n) = A014132(n).
.
   n   m(n) a(n)   Diagram
.                    _   _ _   _ _ _   _ _ _ _   _ _ _ _ _   _ _ _ _ _ _
                   _| | | | | | | | | | | | | | | | | | | | | | | | | | |
   1    2    3    |_ _|_| | | | | | | | | | | | | | | | | | | | | | | | |
                   _ _|  _|_| | | | | | | | | | | | | | | | | | | | | | |
   2    4    7    |_ _ _|    _|_| | | | | | | | | | | | | | | | | | | | |
   3    5    6    |_ _ _|  _|  _ _|_| | | | | | | | | | | | | | | | | | |
                   _ _ _ _|  _| |  _ _|_| | | | | | | | | | | | | | | | |
   4    7    8    |_ _ _ _| |_ _|_|    _ _|_| | | | | | | | | | | | | | |
   5    8   15    |_ _ _ _ _|  _|     |  _ _ _|_| | | | | | | | | | | | |
   6    9   13    |_ _ _ _ _| |      _|_| |  _ _ _|_| | | | | | | | | | |
                   _ _ _ _ _ _|  _ _|    _| |    _ _ _|_| | | | | | | | |
   7   11   12    |_ _ _ _ _ _| |  _|  _|  _|   |  _ _ _ _|_| | | | | | |
   8   12   28    |_ _ _ _ _ _ _| |_ _|  _|  _ _| | |  _ _ _ _|_| | | | |
   9   13   14    |_ _ _ _ _ _ _| |  _ _|  _|    _| | |    _ _ _ _|_| | |
  10   14   24    |_ _ _ _ _ _ _ _| |     |     |  _|_|   |  _ _ _ _ _|_|
                   _ _ _ _ _ _ _ _| |  _ _|  _ _|_|       | | |
  11   16   31    |_ _ _ _ _ _ _ _ _| |  _ _|  _|      _ _|_| |
  12   17   18    |_ _ _ _ _ _ _ _ _| | |_ _ _|      _| |  _ _|
  13   18   39    |_ _ _ _ _ _ _ _ _ _| |  _ _|    _|  _|_|
  14   19   20    |_ _ _ _ _ _ _ _ _ _| | |       |_ _|
  15   20   42    |_ _ _ _ _ _ _ _ _ _ _| |  _ _ _|  _|
                   _ _ _ _ _ _ _ _ _ _ _| | |  _ _| |
  16   22   36    |_ _ _ _ _ _ _ _ _ _ _ _| | |_ _ _|
  17   23   24    |_ _ _ _ _ _ _ _ _ _ _ _| | |
  18   24   60    |_ _ _ _ _ _ _ _ _ _ _ _ _| |
  19   25   31    |_ _ _ _ _ _ _ _ _ _ _ _ _| |
  20   26   42    |_ _ _ _ _ _ _ _ _ _ _ _ _ _|
  21   27   40    |_ _ _ _ _ _ _ _ _ _ _ _ _ _|
.
Column m gives the nontriangular numbers.
Also the diagrams have on the main diagonal the following property: diagram [1] has peaks, diagrams [2, 3] have valleys, diagrams [4, 5, 6] have peaks, diagrams [7, 8, 9, 10] have valleys, and so on.
a(n) is also the area (and the number of cells) of the n-th diagram.
For n = 3 the sum of the regions (or parts) of the third diagram is 3 + 3 = 6, so a(3) = 6.
For more information see A237593.
		

Crossrefs

Some sequences that gives sum of divisors: A000225 (of powers of 2), A008864 (of prime numbers), A065764 (of squares), A073255 (of composites), A074285 (of triangular numbers, also of generalized hexagonal numbers), A139256 (of perfect numbers), A175926 (of cubes), A224613 (of multiples of 6), A346865 (of hexagonal numbers), A346866 (of second hexagonal numbers), A346867 (of numbers with middle divisors), A346868 (of numbers with no middle divisors).

Programs

Formula

a(n) = A000203(A014132(n)).
Showing 1-6 of 6 results.