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.

User: Thomas Ladouceur

Thomas Ladouceur's wiki page.

Thomas Ladouceur has authored 4 sequences.

A365988 Number of n X n binary arrays with a path of adjacent 1's from top row to bottom row.

Original entry on oeis.org

1, 7, 197, 22193, 10056959, 18287614751, 133267613878665, 3888492110032890000, 454016084146596000000000, 212041997127527000000000000000, 396017759826921000000000000000000000
Offset: 1

Author

Keywords

Comments

a(n) is the number of climbable arrangements that exist for sets of n adjacent "broken ladders" with height n, where a broken ladder is an array of n steps with some number of the steps unusable, the rest usable; an arrangement is the configuration of the locations of the broken rung(s) on the n ladders of height n; and a climbable arrangement is a set of ladders such that with movement up, down, left, and right, there exists a path from the bottom to the top.
Also, a(n) is the sum of the coefficients of exact spanning probabilities in 2d lattices along the second dimension for an n X n square lattice.

Examples

			x indicates a broken rung, - a functional rung.
.
  |-| |-|        |x| |-|        |-| |x|        |-| |-|
  |-| |-| (1)    |-| |-| (2)    |-| |-| (3)    |-| |x| (4)
.
  |-| |-|        |x| |-|        |-| |x|        |-| |-|
  |x| |-| (5)    |x| |-| (6)    |-| |x| (7)    |x| |x| (8)
.
  |x| |x|        |x| |-|        |-| |x|        |x| |x|
  |-| |-| (9)    |-| |x| (10)   |x| |-| (11)   |-| |x| (12)
.
  |x| |x|        |x| |-|        |-| |x|        |x| |x|
  |x| |-| (13)   |x| |x| (14)   |x| |x| (15)   |x| |x| (16)
.
The only climbable configurations are 1-7 since there is a path to the top from the bottom. So a(2) = 7.
		

References

  • Samuel Dittmer, Hiram Golze, Grant Molnar, and Caleb Stanford, Puzzle and Proof: A Decade of Problems from the Utah Math Olympiad, CRC Press, 2025, p. 51.

Crossrefs

Main diagonal of A359576.

Programs

  • Python
    # See Rebenstock link.

Formula

Upper limit: a(n) <= 2^(n^2). This is the total number of boards possible.
Lower limit: a(n) >= 2^(n-1)*a(n-1) climbable paths (board before it, with a completely unbroken ladder) and we break any arrangement of rungs on the new ladder.

A342431 Solution to Von Neumann stepping stone puzzle (see Comments).

Original entry on oeis.org

1, 2, 5, 8, 13, 18, 21, 24, 29, 31, 34, 38, 42, 46
Offset: 1

Author

Keywords

Comments

This is a variant of the stepping stone sequence (A337663), where any cell has just 4 neighbors (Von Neumann neighborhood). The game works as follows:
Start with an infinite square grid. Each cell has four neighbors. Place n 1's anywhere. Now place the numbers 2, 3, ..., m in order, subject to the rule that when you place k, the sum of its neighbors must equal k. Then a(n) is the maximum m that can be achieved.

Examples

			From code compiled by _Hugo van der Sanden_ and _Thomas Ladouceur_.
a(3) = 5, with 3 1's:
  +----+----+----+
  |  1 |  2 |  1 |
  +----+----+----+
  |  4 |  3 |    |
  +----+----+----+
  |  5 |  1 |    |
  +----+----+----+
and
a(10) = 31, with 10 1's:
  +----+----+----+----+----+----+----+----+----+----+
  |    |  9 |  8 |  1 | 11 |    |    |    |    |    |
  +----+----+----+----+----+----+----+----+----+----+
  |    |  1 |  7 |  6 | 10 |    |    |    |    |    |
  +----+----+----+----+----+----+----+----+----+----+
  | 28 | 27 | 12 |  5 |  4 |  1 |    |    |    |    |
  +----+----+----+----+----+----+----+----+----+----+
  |  1 | 14 | 13 |  1 |  3 |  2 |  1 |    |    |    |
  +----+----+----+----+----+----+----+----+----+----+
  | 16 | 15 |    |    | 26 | 29 | 30 |    |    |    |
  +----+----+----+----+----+----+----+----+----+----+
  | 17 |  1 | 21 | 22 | 23 |  1 | 31 |    |    |    |
  +----+----+----+----+----+----+----+----+----+----+
  | 18 | 19 | 20 |  1 | 24 | 25 |    |    |    |    |
  +----+----+----+----+----+----+----+----+----+----+
  |  1 |    |    |    |    |    |    |    |    |    |
  +----+----+----+----+----+----+----+----+----+----+
		

Crossrefs

Cf. A337663.

Formula

a(n) >= 3n - 4 (found by Thomas Ladouceur).
The proof follows by this construction:
+----+----+----+----+----+----+----+
| 1 | 4 | 5 | 6 | 1 | 10 | 11 |
+----+----+----+----+----+----+----+
| 2 | 3 | 1 | 7 | 8 | 9 | 1 |
+----+----+----+----+----+----+----+
| 1 | | | | | | |
+----+----+----+----+----+----+----+

Extensions

a(13)-a(14) from Bert Dobbelaere, Mar 19 2021

A342434 Solution to stepping stone puzzle on a hexagonal board (See Comments).

Original entry on oeis.org

1, 9, 17, 26, 37, 47
Offset: 1

Author

Keywords

Comments

This is a variant of the stepping stone sequence (A337663), where now the board is a hexagonal grid.
Start with an infinite hexagonal grid. Each cell has six neighbors. Place n 1's anywhere. Now place the numbers 2, 3, ..., m in order, subject to the rule that when you place k, the sum of its neighbors must equal k. Then a(n) is the maximum m that can be achieved.

Examples

			Found by code compiled by Hugo van der Sanden and Thomas Ladouceur, see links titled: "Illustration for a(2)" and "Illustration for a(5)".
		

Crossrefs

Cf. A337663.

Formula

a(n) >= 5n - 4. This is seen by constructing the pattern linked above, titled "Illustration for lower bound".

A337663 Solution to stepping stone puzzle if we start with n 1's (see Comments).

Original entry on oeis.org

1, 16, 28, 38, 49, 60
Offset: 1

Author

N. J. A. Sloane, Oct 07 2020, based on an email from Thomas Ladouceur and Jeremy Rebenstock, Oct 06 2020

Keywords

Comments

Start with an infinite square grid. Each cell has eight neighbors. Place n 1's anywhere. Now place the numbers 2, 3, ..., m in order, subject to the rule that when you place k, the sum of its neighbors must equal k. Then a(n) is the maximum m that can be achieved.
a(1) - a(4) were found by Thomas Ladouceur and Jeremy Rebenstock by considering all the possibilities (by computer - see link to Python program).
Note that a(n) always exists, by definition. But it is possible that it is infinity. One consequence of the following argument is that a(n) < oo. - N. J. A. Sloane, Oct 08 2020
From Robert Gerbicz, Oct 08 2020: (Start)
a(n) = O(n*log(n)^2). Proof:
Assume k > 1. Since the square containing k is the sum of its neighbors, one neighbor will be at most k/2. Continuing this (with the smallest term from the sum): if k < 2^(d+1) then one term within distance d from the square containing k will be at most 1, hence exactly one.
But n squares (containing ones) cover at most (2*d+1)^2*n squares within distance d. So for all d > 0, min(2^(d+1)-2, a(n)-1) <= (2*d+1)^2*n.
From this a(n) is finite because 2^d/d^2 is unbounded. Use the inequality for that d where 2^(d+1) < a(n) <= 2^(d+2), then (a(n)-4)/2 <= 2^(d+1)-2 = min(2^(d+1)-2, a(n)-1) <= (2*d+1)^2*n < 4*log_2(a(n))^2*n, and from a(n) < 4 + 8*log_2(a(n))^2*n it is easy to see that a(n) = O(n*log(n)^2). (End)
From Robert Gerbicz, Apr 26 2021: (Start)
a(n) < 714*n. Proof:
As above, assume k > 1; since the square containing k is the sum of its neighbors, one neighbor will be at most k/2. Continuing this in at most d=11 steps we get a square not larger than max(1, k/2048).
This means that the n ones and the integers in [2, k/2048] cover all integers from [2,k] within a distance of d=11. A single square covers at most (2*d+1)^2 squares, hence 23^2*(n + k/2048) >= k-1.
From this, k < 714*n, so a(n) is finite and a(n) < 714*n. (More precisely we got a(n) <= (1083392*n + 2048)/1519.) This idea works for any d > 8 steps, but gives the best upper bound for d=11. (End)
From N. J. A. Sloane, Aug 26 2022: (Start)
This entry has grown too long, so I have moved some of the comments to attached text files. At present these are, in chronological order:
- Charlotte Darroch, Jan 11 2022: a(n) <= 278*n. (See link)
- Charlotte Darroch, Jan 11 2022, and Robert Gerbicz, Jan 12 2022: a(n) <= 183*n. (See link)
- Tejo Vrush, Jan 22 2022: a(n) <= 155*n. (See link)
- Jonathan F. Waldmann, Aug 17 2022: a(n) < 86*n + 32. (See link)
- Jonathan F. Waldmann, Oct 01 2022: a(n) < 79*n + C. (See link)
- Robert Gerbicz, Oct 05 2022: lim inf a(n)/n > 6 (Probably a(n) > 6.0128*n-5621 for all n.) See link
- Skylark Xentha Murphy-Davies, a(n) >= 6*n for n >= 3 (see link)
(End)
Al Zimmermann has informed me that he is running a computer-programming competition (see link) in which contestants try to improve the lower bounds on a(n). This has already produced many improvements. Several contestants (the first was Mark Beyleveld) have shown that a(7) >= 71. Other lower bounds are a(8) >= 79, a(9) >= 89, a(10) >= 99, a(11) >= 109, a(12) >= 115. The full results will be announced when the competition ends in November 2022, and at that time the contestants may reveal that they also have proofs that some of these lower bounds are in fact the exact values. - N. J. A. Sloane, Aug 26 2022
See A350627 for several older problems that are similar to this, such as the Forest of Numbers (Bosque de NĂºmeros) puzzle. - N. J. A. Sloane, Feb 05 2022

Examples

			Starting with n = 2 cells containing 1's the following strategy achieves a(2) = 16 (this is also shown in the link):
  +----+----+----+----+----+----+
  |  9 |  5 | 10 | 11 |    |    |
  +----+----+----+----+----+----+
  |    |  4 |  1 |    |    |    |
  +----+----+----+----+----+----+
  | 12 |  8 |  3 |  2 |    | 16 |
  +----+----+----+----+----+----+
  |    |    |    |  6 |  1 | 15 |
  +----+----+----+----+----+----+
  |    |    | 13 |  7 | 14 |    |
  +----+----+----+----+----+----+
Illustration for a(3) = 28 from _Fakih Karademir_, Aug 30 2022: (Start)
   . 24  .  .  .  .  .
   .  8 16 17  .  .  .
  15  7  1  . 19  .  .
  22  .  6  2  . 20  .
   . 28  .  3  1  . 25
   .  .  .  .  4  5  .
   .  . 21  .  9 18 23
   .  . 11 10  .  .  .
   . 12  1  .  .  .  .
   . 26 13 14  .  .  .
   .  .  . 27  .  .  . (End)
Illustration for a(4) = 38 from Arnauld Chevallier:
  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
  . 35 18 36  . 23  . 21  . 32  .  .  .  .  .
  .  . 17  1  . 14  9  . 12 20  .  .  .  .  .
  .  . 34 16 15  .  5  4  8  .  . 26 27  .  .
  .  .  .  . 31  . 10  1  3 19 25  .  1 28  .
  .  .  .  .  .  . 11  .  2  6  . 33  . 29  .
  .  .  .  .  .  . 24 13 22  1  7  .  .  .  .
  .  .  .  .  .  . 37  .  . 30 38  .  .  .  .
  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
From _Bert Dobbelaere_, Nov 01 2020: (Start)
Illustration for a(6) = 60:
  .  .  .  .  .  .  .  .  .  .  .  .  . 47 24 48  .
  .  .  .  .  .  .  .  .  .  .  .  .  .  . 23  1 49
  .  .  .  .  .  .  .  .  .  .  .  . 41  . 22  . 50
  .  .  .  .  .  .  .  . 51  . 36  . 20 21 43  .  .
  .  .  .  .  .  .  .  . 34 17  . 19  1  .  .  .  .
  .  .  .  .  .  .  .  . 16  1 18 38 58 59  .  .  .
  .  .  .  .  . 37 30 15 40  . 57  .  .  .  .  .  .
  .  .  .  .  .  .  7  8  .  .  .  .  .  .  .  .  .
  .  .  . 35 46  6  1 25 33  .  .  .  .  .  .  .  .
  . 60 32  .  3  2  9  .  .  .  .  .  .  .  .  .  .
  .  . 28  4  1 31 11 45  . 52  .  .  .  .  .  .  .
  . 42 14 10  5  .  . 12 13 39  .  .  .  .  .  .  .
  . 56  . 29 44  .  .  1 26  .  .  .  .  .  .  .  .
  .  .  .  .  .  . 55 54 27 53  .  .  .  .  .  .  .
(End)
		

Crossrefs

See A355903 for another version of the problem.

Formula

From Andrew Howroyd, Oct 08 2020: (Start)
a(n) >= 5*n - 4.
Proof: This follows by continuing the following simple construction:
+----+----+----+----+----+----+----+----+----+----+
| | | 4 | | | | | | 14 | |
+----+----+----+----+----+----+----+----+----+----+
| | 3 | 1 | 5 | | | | 13 | 1 | 15 |
+----+----+----+----+----+----+----+----+----+----+
| | 2 | | 6 | | | | 12 | | 16 |
+----+----+----+----+----+----+----+----+----+----+
| 1 | | | | 7 | | 11 | | | |
+----+----+----+----+----+----+----+----+----+----+
| | | | | 8 | 1 | 10 | | | |
+----+----+----+----+----+----+----+----+----+----+
| | | | | | 9 | | | | |
+----+----+----+----+----+----+----+----+----+----+
(End)
From Skylark Xentha Murphy-Davies, Jan 10 2022, added by N. J. A. Sloane: (Start)
a(n) >= 6*n - 6. [This has since been strengthened to a(n) >= 6*n for n >= 3 - see Comments and Link. - N. J. A. Sloane, Sep 14 2022]
Proof: This follows by continuing the following simple construction:
+----+----+----+----+----+----+----+----+----+----+
| 1 | | | | | | | | | |
+----+----+----+----+----+----+----+----+----+----+
| | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
+----+----+----+----+----+----+----+----+----+----+
| | | 1 | | | 1 | | | 1 | 10 |
+----+----+----+----+----+----+----+----+----+----+
| | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | |
+----+----+----+----+----+----+----+----+----+----+
(End)
Menno Verhoeven, Jan 10 2022, has shown that a(n) >= 6*n+3 for n >= 3. See my "Lower bound of 6n+3" link. This is obtained by starting from the a(2)=16 configuration. He remarks that by starting from a larger configuration one can improve the constant term 3, although not the multiplier 6. For example, starting from the a(6) configuration gives a(n) >= 6n+24 for n >= 6. - N. J. A. Sloane, Jan 10 2022

Extensions

a(1)-a(4) confirmed by Arnauld Chevallier
a(5) from Code Golf user xash (see Code Golf Stack Exchange link). - Peter Kagey, Oct 08 2020
a(5) independently confirmed by Andrew Howroyd, Oct 08 2020
a(6) from Bert Dobbelaere, Nov 01 2020
a(6) independently confirmed by Hugo van der Sanden, Nov 05 2020
Deleted an unproved upper bound. - N. J. A. Sloane, Jan 14 2022
a(7) >= 71 was found by Mark Beyleveld, Aug 07 2023 (see Links). - Al Zimmermann, Jan 02 2023
The programming contest also produced the lower bounds 80, 90, 99, 109, 118 for n = 8, ..., 12, respectively (see Links). Al Zimmermann, Jan 05 2023