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.

Previous Showing 11-20 of 21 results. Next

A317305 Sum of divisors of the n-th number whose divisors increase by a factor of 2 or less.

Original entry on oeis.org

1, 3, 7, 12, 15, 28, 31, 39, 42, 60, 56, 72, 63, 91, 90, 96, 124, 120, 120, 168, 127, 144, 195, 186, 224, 180, 234, 252, 217, 210, 280, 248, 360, 312, 255, 336, 336, 403, 372, 392, 378, 363, 480, 372, 546, 508, 399, 468, 465, 504, 434, 576, 600, 504, 504, 560, 546, 744, 728, 511
Offset: 1

Views

Author

Omar E. Pol, Aug 25 2018

Keywords

Comments

Also consider the n-th number k with the property that the symmetric representation of sigma(k) has only one part. a(n) is the area of the diagram (see the example). For more information see A237593 and its related sequences.

Examples

			Illustration of initial terms (n = 1..13):
.
  a(n)
        _ _   _   _   _       _       _   _   _       _       _   _   _
   1   |_| | | | | | | |     | |     | | | | | |     | |     | | | | | |
   3   |_ _|_| | | | | |     | |     | | | | | |     | |     | | | | | |
        _ _|  _|_| | | |     | |     | | | | | |     | |     | | | | | |
   7   |_ _ _|    _|_| |     | |     | | | | | |     | |     | | | | | |
        _ _ _|  _|  _ _|     | |     | | | | | |     | |     | | | | | |
  12   |_ _ _ _|  _|    _ _ _| |     | | | | | |     | |     | | | | | |
        _ _ _ _| |    _|    _ _|     | | | | | |     | |     | | | | | |
  15   |_ _ _ _ _|  _|     |    _ _ _| | | | | |     | |     | | | | | |
                   |      _|   |  _ _ _|_| | | |     | |     | | | | | |
                   |  _ _|    _| |    _ _ _|_| |     | |     | | | | | |
        _ _ _ _ _ _| |      _|  _|   |  _ _ _ _|     | |     | | | | | |
  28   |_ _ _ _ _ _ _|  _ _|  _|  _ _| |    _ _ _ _ _| |     | | | | | |
                       |  _ _|  _|    _|   |    _ _ _ _|     | | | | | |
                       | |     |     |  _ _|   |    _ _ _ _ _| | | | | |
        _ _ _ _ _ _ _ _| |  _ _|  _ _|_|       |   |  _ _ _ _ _|_| | | |
  31   |_ _ _ _ _ _ _ _ _| |  _ _|  _|      _ _|   | |    _ _ _ _ _|_| |
        _ _ _ _ _ _ _ _ _| | |     |      _|    _ _| |   |  _ _ _ _ _ _|
  39   |_ _ _ _ _ _ _ _ _ _| |  _ _|    _|  _ _|  _ _|   | |
        _ _ _ _ _ _ _ _ _ _| | |       |   |    _|    _ _| |
  42   |_ _ _ _ _ _ _ _ _ _ _| |  _ _ _|  _|  _|     |  _ _|
                               | |       |  _|      _| |
                               | |  _ _ _| |      _|  _|
        _ _ _ _ _ _ _ _ _ _ _ _| | |  _ _ _|  _ _|  _|
  60   |_ _ _ _ _ _ _ _ _ _ _ _ _| | |       |  _ _|
                                   | |  _ _ _| |
                                   | | |  _ _ _|
        _ _ _ _ _ _ _ _ _ _ _ _ _ _| | | |
  56   |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _| | |
        _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| | |
  72   |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| |
        _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| |
  63   |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
.
The length of the largest Dyck path of the n-th diagram equals A047836(n).
The semilength equals A174973(n).
a(n) is the area of the n-th diagram.
		

Crossrefs

Programs

  • Mathematica
    A317305[upto_]:=Table[If[AllTrue[Map[Last[#]/First[#]&,Partition[Divisors[n],2,1]],#<=2&],DivisorSigma[1,n],Nothing],{n,upto}];
    A317305[500] (* Paolo Xausa, Jan 12 2023 *)

Formula

a(n) = A000203(A174973(n)).

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

Original entry on oeis.org

1, 2, 2, 3, 3, 4, 4, 5, 3, 5, 6, 6, 7, 7, 8, 8, 8, 9, 9, 10, 10, 11, 5, 5, 11, 12, 12, 13, 5, 13, 14, 6, 6, 14, 15, 15, 16, 16, 17, 7, 7, 17, 18, 12, 18, 19, 19, 20, 8, 8, 20, 21, 21, 22, 22, 23, 32, 23, 24, 24, 25, 7, 25, 26, 10, 10, 26, 27, 27, 28, 8, 8, 28, 29, 11, 11, 29, 30, 30, 31, 31, 32, 12, 26, 12, 32, 33, 9, 9, 33, 34, 34
Offset: 1

Views

Author

Omar E. Pol, Mar 31 2014

Keywords

Comments

Row n lists the parts of the symmetric representation of A008438(n-1).
Also these are the parts from the odd-indexed rows of A237270.
Also these are the parts in the quadrants 1 and 3 of the spiral described in A239660, see example.
Row sums give A008438.
The length of row n is A237271(2n-1).
Both column 1 and the right border are equal to n.
Note that also the sequence can be represented in a quadrant.
We can find the spiral (mentioned above) on the terraces of the stepped pyramid described in A244050. - Omar E. Pol, Dec 07 2016

Examples

			1;
2, 2;
3, 3;
4, 4;
5, 3, 5;
6, 6;
7, 7;
8, 8, 8;
9, 9;
10, 10;
11, 5, 5, 11;
12, 12;
13, 5, 13;
14, 6, 6, 14;
15, 15;
16, 16;
17, 7, 7, 17;
18, 12, 18;
19, 19;
20, 8, 8, 20;
21, 21;
22, 22;
23, 32, 23;
24, 24;
25, 7, 25;
...
Illustration of initial terms (rows 1..8):
.
.                                   _ _ _ _ _ _ _ 7
.                                  |_ _ _ _ _ _ _|
.                                                |
.                                                |_ _
.                                   _ _ _ _ _ 5      |_
.                                  |_ _ _ _ _|         |
.                                            |_ _ 3    |_ _ _ 7
.                                            |_  |         | |
.                                   _ _ _ 3    |_|_ _ 5    | |
.                                  |_ _ _|         | |     | |
.                                        |_ _ 3    | |     | |
.                                          | |     | |     | |
.                                   _ 1    | |     | |     | |
.     _       _       _       _    |_|     |_|     |_|     |_|
.    | |     | |     | |     | |
.    | |     | |     | |     |_|_ _
.    | |     | |     | |    2  |_ _|
.    | |     | |     |_|_     2
.    | |     | |    4    |_
.    | |     |_|_ _        |_ _ _ _
.    | |    6      |_      |_ _ _ _|
.    |_|_ _ _        |_   4
.   8      | |_ _      |
.          |_    |     |_ _ _ _ _ _
.            |_  |_    |_ _ _ _ _ _|
.           8  |_ _|  6
.                  |
.                  |_ _ _ _ _ _ _ _
.                  |_ _ _ _ _ _ _ _|
.                 8
.
The figure shows the quadrants 1 and 3 of the spiral described in A239660.
For n = 5 we have that 2*5 - 1 = 9 and the 9th row of A237593 is [5, 2, 2, 2, 2, 5] and the 8th row of A237593 is [5, 2, 1, 1, 2, 5] therefore between both symmetric Dyck paths there are three regions (or parts) of sizes [5, 3, 5], so row 5 is [5, 3, 5], see the third arm of the spiral in the first quadrant.
The sum of divisors of 9 is 1 + 3 + 9 = A000203(9) = 13. On the other hand the sum of the parts of the symmetric representation of sigma(9) is 5 + 3 + 5 = 13, equaling the sum of divisors of 9.
		

Crossrefs

A317306 Powers of 2 and even perfect numbers.

Original entry on oeis.org

1, 2, 4, 6, 8, 16, 28, 32, 64, 128, 256, 496, 512, 1024, 2048, 4096, 8128, 8192, 16384, 32768, 65536, 131072, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33550336, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824, 2147483648, 4294967296, 8589869056, 8589934592
Offset: 1

Views

Author

Omar E. Pol, Aug 23 2018

Keywords

Comments

Numbers k such that the symmetric representation of sigma(k) has only one part, and apart from the central width, the rest of the widths are 1's.
Note that the above definition implies that the central width of the symmetric representation of sigma(k) is 1 or 2. For powers of 2 the central width is 1. For even perfect numbers the central width is 2 (see example).

Examples

			Illustration of initial terms:
.        _ _   _   _   _               _                       _       _
.    1  |_| | | | | | | |             | |                     | |     | |
.    2  |_ _|_| | | | | |             | |                     | |     | |
.        _ _|  _|_| | | |             | |                     | |     | |
.    4  |_ _ _|    _|_| |             | |                     | |     | |
.        _ _ _|  _|  _ _|             | |                     | |     | |
.    6  |_ _ _ _|  _|                 | |                     | |     | |
.        _ _ _ _| |                   | |                     | |     | |
.    8  |_ _ _ _ _|              _ _ _| |                     | |     | |
.                               |  _ _ _|                     | |     | |
.                              _| |                           | |     | |
.                            _|  _|                           | |     | |
.                        _ _|  _|                             | |     | |
.                       |  _ _|                               | |     | |
.                       | |                          _ _ _ _ _| |     | |
.        _ _ _ _ _ _ _ _| |                         |  _ _ _ _ _|     | |
.   16  |_ _ _ _ _ _ _ _ _|                         | |    _ _ _ _ _ _| |
.                                                _ _| |   |  _ _ _ _ _ _|
.                                            _ _|  _ _|   | |
.                                           |    _|    _ _| |
.                                          _|  _|     |  _ _|
.                                         |  _|      _| |
.                                    _ _ _| |      _|  _|
.                                   |  _ _ _|  _ _|  _|
.                                   | |       |  _ _|
.                                   | |  _ _ _| |
.                                   | | |  _ _ _|
.        _ _ _ _ _ _ _ _ _ _ _ _ _ _| | | |
.   28  |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _| | |
.                                       | |
.                                       | |
.        _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| |
.   32  |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
.
The diagram shows the first eight terms of the sequence. The symmetric representation of sigma has only one part, and apart from the central width, the rest of the widths are 1's.
A317307(n) is the area (or the number of cells) in the n-th region of the diagram.
		

Crossrefs

Union of A000079 and A000396 assuming there are no odd perfect numbers.
Subsequence of A174973.
Cf. A249351 (the widths).
Cf. A317307(n) = sigma(a(n)).

A342344 Number of parts in the symmetric representation of antisigma(n).

Original entry on oeis.org

0, 0, 2, 3, 1, 3, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2
Offset: 1

Views

Author

Omar E. Pol, Mar 08 2021

Keywords

Comments

In order to construct this sequence and the diagram of the symmetric representation of antisigma(n) = A024816(n) we use the following rules:
At stage 1 in the first quadrant of the square grid we draw the symmetric representation of sigma(n) using the two Dyck paths described in the rows n and n-1 of A237593. The area of the region that is below the symmetric representation of sigma(n) equals A024916(n-1).
At stage 2 we draw a pair of orthogonal line segments (if it's necessary) such that in the drawing appears totally formed a square n X n. The area of the region that is above the symmetric representation of sigma(n) equals A004125(n). Then we draw a zig-zag path with line segments of length 1 from (0,n-1) to (n-1,0) such that appears a staircase with n-1 steps. The area of the region (or regions) that is below the symmetric representation of sigma(n) and above the staircase equals A244048(n) = A153485(n-1). The area of the region that is below the staircase equals A000217(n-1).
At stage 3 we turn OFF the cells of the symmetric representation of sigma(n) and also the cells that are below the staircase. Then we turn ON the rest of the cells that are in the square n X n. The result is that the ON cell form the diagram of the symmetric representation of antisigma(n) = A024816(n). See the Example section.
For n >= 7; if A237271(n) = 1 or n is a term of A262259 then a(n) = 2 otherwise a(n) = 1.

Examples

			Illustration of the symmetric representation of antisigma(n) = AS(n) = A024816(n), for n = 1..6:
.                                                             y|        _ _
.                                              y|      _ _     |  _ _  |_  |
.                                 y|      _     |  _ _|   |    | |_  |   |_|
.                      y|    _     |  _  |_|    | |_     _|    |   |_|_ _
.             y|        |  _|_|    | |_|_       |   |_  |      |     |_  |
.      y|      |        | |_|      |   |_|      |     |_|      |       |_|
.       |_ _   |_ _ _   |_ _ _ _   |_ _ _ _ _   |_ _ _ _ _ _   |_ _ _ _ _ _ _
.          x        x          x            x              x                x
.
n:        1       2         3           4             5               6
a(n):     0       0         2           3             1               3
AS(n):    0       0         2           3             9               9
.
Illustration of the symmetric representation of antisigma(n) = AS(n) = A024816(n), for n = 7..9:
.                                                y|          _ _ _ _
.                          y|          _ _ _      |  _ _ _ _|       |
.      y|        _ _ _      |  _ _ _  |     |     | |_       _ _    |
.       |  _ _ _|     |     | |_    | |_    |     |   |_    |_  |   |
.       | |_          |     |   |_  |_  |_ _|     |     |_    |_|  _|
.       |   |_       _|     |     |_  |_ _        |       |_      |
.       |     |_    |       |       |_    |       |         |_    |
.       |       |_  |       |         |_  |       |           |_  |
.       |         |_|       |           |_|       |             |_|
.       |_ _ _ _ _ _ _ _    |_ _ _ _ _ _ _ _ _    |_ _ _ _ _ _ _ _ _ _
.                      x                     x                       x
.
n:              7                    8                      9
a(n):           1                    2                      1
AS(n):         20                   21                     32
.
For n = 9 the figures 1, 2 and 3 below show respectively the three stages described in the Comments section as follows:
.
.   y|_ _ _ _ _ 5            y|_ _ _ _ _ _ _ _ _      y|          _ _ _ _
.    |_ _ _ _ _|              |_ _ _ _ _|       |      |  _ _ _ _|       |
.    |         |_ _ 3         | |_      |_ _ R  |      | |_       _ _    |
.    |         |_  |          |   |_    |_  |   |      |   |_    |_  |   |
.    |           |_|_ _ 5     |     |_ T  |_|_ _|      |     |_    |_|  _|
.    |               | |      |       |_      | |      |       |_      |
.    |      Q        | |      |         |_    | |      |         |_    |
.    |               | |      |    W      |_  | |      |           |_  |
.    |               | |      |             |_| |      |             |_|
.    |_ _ _ _ _ _ _ _|_|_     |_ _ _ _ _ _ _ _|_|_     |_ _ _ _ _ _ _ _ _ _
.                       x                        x                        x
.         Figure 1.                Figure 2.                Figure 3.
.         Symmetric                Symmetric                Symmetric
.       representation           representation           representation
.         of sigma(9)              of sigma(9)            of antisigma(9)
.       A000203(9) = 13          A000203(9) = 13          A024816(9) = 32
.           and of                   and of
.     Q = A024916(8) = 56      R = A004125(9) = 12
.                              T = A244048(9) = 20
.                              T = A153485(8) = 20
.                              W = A000217(8) = 36
.
Note that the symmetric representation of antisigma(9) contains a hole formed by three cells because these three cells were the central part of the symmetric representation of sigma(9).
		

Crossrefs

A317307 Sum of divisors of powers of 2 and sum of divisors of even perfect numbers.

Original entry on oeis.org

1, 3, 7, 12, 15, 31, 56, 63, 127, 255, 511, 992, 1023, 2047, 4095, 8191, 16256, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215, 33554431, 67100672, 67108863, 134217727, 268435455, 536870911, 1073741823, 2147483647, 4294967295, 8589934591, 17179738112, 17179869183
Offset: 1

Views

Author

Omar E. Pol, Aug 25 2018

Keywords

Comments

Sum of divisors of the numbers k such that the symmetric representation of sigma(k) has only one part, and apart from the central width, the rest of the widths are 1's.
Note that the above definition implies that the central width of the symmetric representation of sigma(k) is 1 or 2. For powers of 2 the central width is 1. For even perfect numbers the central width is 2 (see example).

Examples

			Illustration of initial terms. a(n) is the area (or the number of cells) of the n-th region of the diagram:
.        _ _   _   _   _               _                       _       _
.   1   |_| | | | | | | |             | |                     | |     | |
.   3   |_ _|_| | | | | |             | |                     | |     | |
.        _ _|  _|_| | | |             | |                     | |     | |
.   7   |_ _ _|    _|_| |             | |                     | |     | |
.        _ _ _|  _|  _ _|             | |                     | |     | |
.  12   |_ _ _ _|  _|                 | |                     | |     | |
.        _ _ _ _| |                   | |                     | |     | |
.  15   |_ _ _ _ _|              _ _ _| |                     | |     | |
.                               |  _ _ _|                     | |     | |
.                              _| |                           | |     | |
.                            _|  _|                           | |     | |
.                        _ _|  _|                             | |     | |
.                       |  _ _|                               | |     | |
.                       | |                          _ _ _ _ _| |     | |
.        _ _ _ _ _ _ _ _| |                         |  _ _ _ _ _|     | |
.  31   |_ _ _ _ _ _ _ _ _|                         | |    _ _ _ _ _ _| |
.                                                _ _| |   |  _ _ _ _ _ _|
.                                            _ _|  _ _|   | |
.                                           |    _|    _ _| |
.                                          _|  _|     |  _ _|
.                                         |  _|      _| |
.                                    _ _ _| |      _|  _|
.                                   |  _ _ _|  _ _|  _|
.                                   | |       |  _ _|
.                                   | |  _ _ _| |
.                                   | | |  _ _ _|
.        _ _ _ _ _ _ _ _ _ _ _ _ _ _| | | |
.   56  |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _| | |
.                                       | |
.                                       | |
.        _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _| |
.   63  |_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _|
.
The diagram shows the first eight terms of the sequence. The symmetric representation of sigma of the numbers A317306: 1, 2, 4, 6, 8, 16, 28, 32, ..., has only one part, and apart from the central width, the rest of the widths are 1's.
		

Crossrefs

Union of nonzero terms of A000225 and A139256.
Odd terms give the nonzeros terms of A000225.
Even terms give A139256.
Subsequence of A317305.
Cf. A249351 (the widths).

Programs

  • Mathematica
    DivisorSigma[1, #] &@ Union[2^Range[0, Floor@ Log2@ Last@ #], #] &@ Array[2^(# - 1) (2^# - 1) &@ MersennePrimeExponent@ # &, 7] (* Michael De Vlieger, Aug 25 2018, after Robert G. Wilson v at A000396 *)

Formula

a(n) = A000203(A317306(n)).

A351903 a(n) is the smallest number k such that the symmetric representation of sigma(k) has at least one part of size n.

Original entry on oeis.org

1, 3, 2, 7, 9, 11, 4, 15, 10, 19, 21, 6, 25, 27, 8, 31, 33, 22, 37, 39, 26, 43, 45, 47, 49, 51, 34, 12, 57, 38, 16, 45, 65, 67, 69, 46, 73, 75, 18, 79, 81, 20, 85, 87, 58, 91, 93, 62, 52, 99, 101, 103, 105, 70, 109, 28, 74, 115, 117, 24, 121, 123, 32, 127, 129, 86, 133, 135, 137, 76
Offset: 1

Views

Author

Omar E. Pol, Feb 25 2022

Keywords

Comments

Conjecture 1: there are infinitely many pairs of the form a(x) = y; a(y) = x (see examples).
First differs from A351904 at a(11).
From Hartmut F. W. Hoft, Jun 10 2024: (Start)
For numbers less than or equal to a(2^20), (2^k, 2^(k+1) - 1), 0 <= k <= 19, are the only pairs satisfying a(a(x)) = x; the triple (36, 46, 91) is the only one satisfying a(a(a(x))) = x, and there are no proper order 4 quadruples and no order 5 quintuples, apart from fixed point 1.
Conjecture 2: Only the pairs x = 2^k and y = 2^(k+1) - 1, k >= 0, satisfy a(x) = y and a(y) = x.
A repeated number d in this sequence determines a pair of distinct indices u and v such that d = a(u) = a(v). This means that d is the smallest number for which parts of sizes u and v occur in the symmetric representation of sigma(d), SRS(d). There are 5507 such pairs less than a(2^20). (End)

Examples

			For n = 11 we have that 21 is the smallest number k with at least one part 11 in the symmetric representation of sigma(k), so a(11) = 21.
The symmetric representation of sigma(21) in the first quadrant looks like this:
.
   _ _ _ _ _ _ _ _ _ _ _ 11
  |_ _ _ _ _ _ _ _ _ _ _|
                        |
                        |
                        |_ _ _
                        |_ _  |_ 5
                            |_ _|_
                                | |_ 5
                                |_  |
                                  | |
                                  |_|_ _ _ _ 11
                                          | |
                                          | |
                                          | |
                                          | |
                                          | |
                                          | |
                                          | |
                                          | |
                                          | |
                                          | |
                                          |_|
.
For n = 12 we have that 6 is the smallest number k with at least one part 12 in the symmetric representation of sigma(k), so a(12) = 6.
The symmetric representation of sigma(6) in the first quadrant looks like this:
.
   _ _ _ _
  |_ _ _  |_
        |   |_ 12
        |_ _  |
            | |
            | |
            |_|
.
Some pairs of the form a(x) = y; a(y) = x:
   a(2) =  3;   a(3) =  2.
   a(4) =  7;   a(7) =  4.
   a(8) = 15;  a(15) =  8.
  a(16) = 31;  a(31) = 16.
.
The first three repeated terms are 45 = a(23) = a(32), 135 = a(68) = a(104) and 225 = a(113) = a(177), - _Hartmut F. W. Hoft_, Jun 10 2024
		

Crossrefs

Programs

  • Mathematica
    (* a237270[ ] implements improved computing time for A237270 *)
    a237591[n_, k_] := Map[Ceiling[(n+1)/#-(#+1)/2]-Ceiling[(n+1)/(#+1)-(#+2)/2]&, Range[k]]
    a249223[n_, k_] := FoldList[#1+(-1)^(#2+1)KroneckerDelta[Mod[n-#2 (#2+1)/2, #2]]&, 1, Range[2, k]]
    row[n_] := Floor[(Sqrt[8*n+1]-1)/2]
    a237270[n_] := Module[{lw=Transpose[{a237591[n, row[n]], a249223[n, row[n]]}], diag, sL, pL}, diag=Last[lw][[2]]; sL=Split[lw, #[[2]]!=0&]; pL=Map[Apply[Dot, Transpose[#]]&, Select[sL, #[[1, 2]]!=0&]]; If[diag==0, Join[pL, Reverse[pL]], If[Length[pL]>1, Join[Most[pL], {2Last[pL]-diag}, Reverse[Most[pL]]], 2pL-diag]]]
    a351903[n_] := Module[{list=Table[0, n], count0=n, i=1}, While[count0>0, Map[If[list[[#]]==0, list[[#]]=i; count0--]&, Select[a237270[i], #<=n&]]; i++]; list]
    a351903[70] (* Hartmut F. W. Hoft, Jun 10 2024 *)

Formula

a(n) = min( k : exists 1 <= j <= |SRS(k)|, SRS(k)[j] = n ) where |SRS(k)| denotes the number of parts in SRS(k) and SRS(k)[j] its j-th part. - Hartmut F. W. Hoft, Jun 10 2024

Extensions

a(17)-a(70) from Hartmut F. W. Hoft, Jun 10 2024

A343621 Numbers k such that the largest Dyck path of the symmetric representation of sigma(k) does not touch the largest Dyck path of the symmetric representation of sigma(k+1).

Original entry on oeis.org

1, 3, 5, 7, 11, 15, 17, 19, 23, 27, 29, 31, 35, 39, 41, 47, 53, 55, 59, 63, 65, 71, 79, 83, 87, 89, 95, 99, 103, 107, 111, 119, 125, 127, 131, 139, 143, 149, 155, 159, 161, 167, 175, 179, 191, 195, 197, 199, 203, 207, 209, 215, 219, 223, 227, 233, 239, 251, 255
Offset: 1

Views

Author

Omar E. Pol, Aug 04 2021

Keywords

Comments

This property of a(n) is because the symmetric representation of sigma(a(n)+1) has only one part.
All terms are odd.
First differs from A085493 at a(22).

Crossrefs

Programs

  • Mathematica
    (* Functions a174973Q[ ] is defined in A279029 *)
    a343621[n_] := Select[Range[n], a174973Q[#+1]&]
    a343621[255] (* Hartmut F. W. Hoft, Feb 20 2025 *)

Formula

a(n) = A174973(n+1) - 1.

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

Original entry on oeis.org

2, 7, 17, 19, 29, 31, 47, 53, 67, 71, 73, 97, 101, 103, 127, 131, 157, 163, 167, 191, 193, 197, 199, 233, 239, 241, 251, 277, 281, 283, 293, 331, 337, 347, 349, 379, 383, 389, 397, 401, 439, 443, 449, 457, 461, 463, 499, 503, 509, 521, 523, 563, 569, 571, 577, 587, 593, 631, 641, 643, 647, 653, 659, 661
Offset: 1

Views

Author

Omar E. Pol, Aug 29 2018

Keywords

Comments

Also primes p such that both Dyck paths of the symmetric representation of sigma(p) have a central peak.
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 odd number of peaks.

Examples

			Illustration of initial terms:
--------------------------------------------------------
   p   sigma(p)   Diagram of the symmetry of sigma
--------------------------------------------------------
                    _         _                   _   _
                  _| |       | |                 | | | |
   2      3      |_ _|       | |                 | | | |
                             | |                 | | | |
                            _|_|                 | | | |
                          _|                     | | | |
                  _ _ _ _|                       | | | |
   7      8      |_ _ _ _|                       | | | |
                                                 | | | |
                                            _ _ _|_| | |
                                           |    _ _ _|_|
                                          _|   |
                                        _|  _ _|
                                    _ _|  _|
                                   |     |
                                   |  _ _|
                  _ _ _ _ _ _ _ _ _| |
  17     18      |_ _ _ _ _ _ _ _ _| |
                  _ _ _ _ _ _ _ _ _ _|
  19     20      |_ _ _ _ _ _ _ _ _ _|
.
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 peak.
Compare with A317309.
		

Crossrefs

Primes in A162917.
Also primes in A317303.
The union of this sequence and A317309 gives A000040.

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

A356351 Partial sums of the ziggurat sequence A347186.

Original entry on oeis.org

1, 5, 11, 27, 39, 76, 96, 160, 196, 286, 328, 489, 545, 701, 808, 1064, 1154, 1488, 1598, 2006, 2208, 2550, 2706, 3403, 3610, 4072, 4384, 5169, 5409, 6385, 6657, 7681, 8127, 8883, 9324, 10910, 11290, 12220, 12824, 14560, 15022, 16863, 17369, 19175, 20276, 21608, 22208, 25129, 25849, 27669
Offset: 1

Views

Author

Omar E. Pol, Oct 15 2022

Keywords

Comments

a(n) is the volume (or the number of cubes) in a polycube whose base is the symmetric representation of A024916(n) which is formed with the first n 3D-Ziggurats described in A347186.
a(n) is also the total number of cubes in a three-dimensional spiral formed with the first n 3D-Ziggurats described in A347186 (see example). The base of the 3D-spiral is the spiral formed with the symmetric representation of sigma of the first n positive integers as shown in the example section of A239660.

Examples

			For n = 16 the figure shows the top view of a three-dimensional spiral formed with the first 16 3D-Ziggurats described in A347186. There are four 3D-Ziggurats in every quadrant:
.
                  _ _ _ _ _ _ _ _
                 |_|_|_|_|_|_|_|_|_ _ _ _ _ _ _
                 |_|             |_|_|_|_|_|_|_|
                _|_|                           |
               |_|_|  _ _ _ _ _ _              |_ _
            _ _|     |_|_|_|_|_|_|_ _ _ _ _        |_
      _ _ _|_|      _|_|         |_|_|_|_|_|         |
     |_|_|_|_|    _|_|_|                   |_ _      |_ _ _
     |_|      _ _|_|      _ _ _ _          |_|_|         |_|
     |_|     |_|_|_|    _|_|_|_|_|_ _ _      |_|_ _      |_|
     |_|     |_|      _|_|_|     |_|_|_|         |_|     |_|
     |_|     |_|     |_|_|_|           |_ _      |_|     |_|
     |_|     |_|     |_|      _ _        |_|     |_|     |_|
     |_|     |_|     |_|     |_|_|_      |_|     |_|     |_|
    _|_|    _|_|    _|_|    _|_| |_|    _|_|    _|_|    _|_|    _
   |_|     |_|     |_|     |_|         |_|     |_|     |_|     |_|
   |_|     |_|     |_|     |_|_ _     _|_|     |_|     |_|     |_|
   |_|     |_|     |_|       |_|_|_ _|_|_|     |_|     |_|     |_|
   |_|     |_|     |_|_          |_|_|_|    _ _|_|     |_|     |_|
   |_|     |_|         |_                 _|_|_|_|     |_|     |_|
   |_|     |_|_ _        |_ _ _ _        |_|_|    _ _ _|_|     |_|
   |_|           |_      |_|_|_|_|_ _ _ _|_|    _|_|_|_|_|     |_|
   |_|_ _ _        |_            |_|_|_|_|_|  _|_|_|_|    _ _ _|_|
         |_|_ _      |                       |_|_|_|_|   |_|_|_|_|
         |_|_|_|     |_ _ _ _ _ _            |_|_|_|    _|_|
           |_|_|_    |_|_|_|_|_|_|_ _ _ _ _ _|_|      _|_|_|
             |_|_|               |_|_|_|_|_|_|_|  _ _|_|_|
                 |                               |_|_|_|
                 |_ _ _ _ _ _ _ _                |_|
                 |_|_|_|_|_|_|_|_|_ _ _ _ _ _ _ _|_|
                                 |_|_|_|_|_|_|_|_|_|
.
The number of square cells in the top view of the n-th 3D-Ziggurat equals A000203(n).
The total number of square cells in the top view of the 3D-Spiral with the first n 3D-Ziggurats equals A024916(n).
In the above figure the total number of square cells equals A024916(16) = 220.
a(16) = 1064 is the total number of cubes in the 3D-Spiral with the first 16 3D-Ziggurats.
		

Crossrefs

Previous Showing 11-20 of 21 results. Next