Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

The toppling count of the n x 1 torus sandpile is A023855(n - 1)

Abstract

On the n x 1 torus, fill every cell except c[0,0] with 4 grains and topple cells holding at least 4 grains, the grains sent to c[0,0] being lost. For every n at least 2 the process reaches a final state, and every legal toppling sequence ending in a final state has A023855(n - 1) topplings, in whatever order the cells are chosen (OEIS A293452, with the printed index corrected).

Definition 1.1 (The cells of the n x k torus).

Formalization. D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.Cell (✓ std3).

Citation. Joerg Arndt (2017). OEIS A293452, Triangle T(n,k) read by rows: T(n,k) is the number of iterations to reach a final state for an n X k lattice of sandpiles on a torus according to rules specified in A249872. URL: https://oeis.org/A293452.

Commentary.

OEIS A249872: “Let the lattice be c[i,j], 0 <= i,j < n.” A293452 uses the n X k torus; the cell c[i,j] is the pair (i, j) of residues modulo n and k.

Definition 1.2 (The initial configuration).

Formalization. D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.initial (✓ std3).

Citation. Joerg Arndt (2017). OEIS A293452, Triangle T(n,k) read by rows: T(n,k) is the number of iterations to reach a final state for an n X k lattice of sandpiles on a torus according to rules specified in A249872. URL: https://oeis.org/A293452.

Commentary.

OEIS A249872: “Fill each cell except c[0,0] with 4 grains of sand.”

Definition 1.3 (The four neighbours on the torus).

Formalization. D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.neighbours (✓ std3).

Citation. Joerg Arndt (2017). OEIS A293452, Triangle T(n,k) read by rows: T(n,k) is the number of iterations to reach a final state for an n X k lattice of sandpiles on a torus according to rules specified in A249872. URL: https://oeis.org/A293452.

Commentary.

The 4 neighbours of a cell on the torus, as a list; on the n x 1 torus the last two are the cell itself.

Definition 1.4 (One iteration).

Formalization. D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.topple (✓ std3).

Citation. Joerg Arndt (2017). OEIS A293452, Triangle T(n,k) read by rows: T(n,k) is the number of iterations to reach a final state for an n X k lattice of sandpiles on a torus according to rules specified in A249872. URL: https://oeis.org/A293452.

Commentary.

OEIS A249872: “Decrement the chosen cell by 4 and increment its 4 neighbors by 1. c[0,0] is never increased, sand grains placed here are lost.” A neighbour occurring twice in the list receives two grains.

Definition 1.5 (The configuration after a toppling sequence).

Formalization. D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.run (✓ std3).

Citation. Joerg Arndt (2017). OEIS A293452, Triangle T(n,k) read by rows: T(n,k) is the number of iterations to reach a final state for an n X k lattice of sandpiles on a torus according to rules specified in A249872. URL: https://oeis.org/A293452.

Commentary.

The cells of the list L are toppled in order, starting from the initial configuration.

Definition 1.6 (Legal toppling sequences).

Formalization. D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.Legal (✓ std3).

Citation. Joerg Arndt (2017). OEIS A293452, Triangle T(n,k) read by rows: T(n,k) is the number of iterations to reach a final state for an n X k lattice of sandpiles on a torus according to rules specified in A249872. URL: https://oeis.org/A293452.

Commentary.

OEIS A249872: “Find a c[i,j] >= 4.” Every cell of the sequence holds at least 4 grains when it is toppled.

Definition 1.7 (Final states).

Formalization. D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.Stable (✓ std3).

Citation. Joerg Arndt (2017). OEIS A293452, Triangle T(n,k) read by rows: T(n,k) is the number of iterations to reach a final state for an n X k lattice of sandpiles on a torus according to rules specified in A249872. URL: https://oeis.org/A293452.

Commentary.

OEIS A249872: “Until all c[i,j] < 4”.

Definition 1.8 (OEIS A023855).

Formalization. D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.a023855 (✓ std3).

Citation. Joerg Arndt (2017). OEIS A293452, Triangle T(n,k) read by rows: T(n,k) is the number of iterations to reach a final state for an n X k lattice of sandpiles on a torus according to rules specified in A249872. URL: https://oeis.org/A293452.

Commentary.

OEIS A023855: “a(n) = 1*(n) + 2*(n-1) + 3*(n-2) + … + (n+1-k)*k, where k = floor((n+1)/2).”

Definition 1.9 (The conjecture of OEIS A293452, index corrected).

Formalization. D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.claim (✓ std3).

Citation. Joerg Arndt (2017). OEIS A293452, Triangle T(n,k) read by rows: T(n,k) is the number of iterations to reach a final state for an n X k lattice of sandpiles on a torus according to rules specified in A249872. URL: https://oeis.org/A293452.

Commentary.

OEIS A293452, FORMULA: “Conjecture: T(n,1) = A023855(n).” The printed index is off by one: T(1,1) = 0 while A023855(1) = 1, and the column T(n,1) = 0, 1, 2, 7, 10, 22, … of the entry is A023855 shifted by one place. The claim is the corrected identity T(n,1) = A023855(n - 1) for n at least 2, with T(n,1) the length of every legal toppling sequence that ends in a final state (“According to Knuth, it does not matter which cell is chosen”), together with the existence of such a sequence.

Theorem 1.10 (Least action and the discrete maximum principle).

Proof. Machine-checked in Lean as D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.result (✓ std3). ∎

Resolves. Problems/arndt-2017-a293452-torus-column-sandpile (proved) by D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.result.

Source. Repository-derived.

Acknowledgement. Joerg Arndt (2017). OEIS A293452, Triangle T(n,k) read by rows: T(n,k) is the number of iterations to reach a final state for an n X k lattice of sandpiles on a torus according to rules specified in A249872. URL: https://oeis.org/A293452.

Commentary.

Write v(i) for the number of topplings of the cell (i, 0) in a legal sequence. Each toppling of (i, 0) removes 4 grains and returns 2 through the two self-neighbours, so every cell (i, 0) other than c[0,0] holds 4 - 2 v(i) + v(i - 1) + v(i + 1) grains, and the cell c[0,0] is never toppled. Let u(x) = (x(n - x) + [n even] min(x, n - x)) / 2 for 0 <= x <= n; its final configuration 4 - 2 u(x) + u(x - 1) + u(x + 1) is 3 at every cell other than c[0,0] (1 <= x < n), except 2 at x = n/2 when n is even. Least action: along a legal sequence v stays below u, because a cell with v(x) = u(x) holds at most 3 grains and cannot be toppled; hence every legal sequence has at most the sum of u topplings, and a sequence of maximal length ends in a final state. Maximum principle: if a legal sequence ends in a final state, the defect d = u - v is nonnegative, vanishes at x = 0 and x = n, and satisfies d(x - 1) + d(x + 1) - 2 d(x) >= 0 except >= -1 at x = n/2; at the leftmost and the rightmost maximum of d these inequalities fail unless d = 0. So every such sequence has the sum of u topplings, which is the sum over 1 <= j <= floor(n/2) of j (n - j), that is A023855(n - 1).

References

  • Truth anchor: D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.Cell
  • Truth anchor: D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.Legal
  • Truth anchor: D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.Stable
  • Truth anchor: D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.a023855
  • Truth anchor: D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.claim
  • Truth anchor: D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.initial
  • Truth anchor: D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.neighbours
  • Truth anchor: D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.result
  • Truth anchor: D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.run
  • Truth anchor: D5/S3/StatisticalMechanics/Sandpiles/TorusColumnToppling.topple