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

A366998 a(n) is the numerator of the maximum expected number of steps of a random walk on the square lattice until it lands on a mined lattice point, given that mines are placed on all but n points.

Original entry on oeis.org

0, 1, 4, 12, 28, 8, 124, 128, 263, 9, 1303, 519707, 380, 3435
Offset: 0

Views

Author

Pontus von Brömssen, Nov 01 2023

Keywords

Comments

For all n <= 13 except n = 3, the optimal placement of the mine-free points is unique, up to rotations and reflections with respect to the starting point. See linked illustration.

Examples

			For n = 0, the random walk stops before it can take any step, so a(0) = 0.
For n = 1, only the mine at the starting point can be swept, so the random walk always stops after 1 step and a(1) = 1.
For n = 2, the starting point and one adjacent point can be swept. The random walk then has probability 1/4 of surviving at each step, which implies that the expected number of steps is 4/3, so a(2) = 4. (The number of steps follows a geometric distribution.)
		

Crossrefs

Cf. A365964, A366999 (denominators), A369368 (hexagonal lattice), A369370 (triangular lattice).

A369369 Denominator of the maximum expected number of steps of a random walk on the cells of the hexagonal lattice before it lands on a mined cell, given that all but n cells are mined.

Original entry on oeis.org

1, 1, 5, 2, 13, 74, 961, 3, 871, 103, 319, 61289
Offset: 0

Views

Author

Pontus von Brömssen, Jan 24 2024

Keywords

Comments

See A369368 for details.

Crossrefs

Cf. A369368 (numerators), A366999 (square lattice), A369371 (triangular lattice).

A369371 Denominator of the maximum expected number of steps of a random walk on the cells of the triangular lattice before it lands on a mined cell, given that all but n cells are mined.

Original entry on oeis.org

1, 1, 2, 7, 1, 47, 4, 313, 19, 125, 31, 358, 22, 2, 364, 26, 10
Offset: 0

Views

Author

Pontus von Brömssen, Jan 24 2024

Keywords

Comments

See A369370 for details.

Crossrefs

Cf. A369370 (numerators), A366999 (square lattice), A369369 (hexagonal lattice).
Showing 1-3 of 3 results.