The first 32 solutions for A302929: Maximum number of 5's possible in an infinite Minesweeper grid with n mines. By Dmitry Kamenetsky, 16/04/2018 a(1-4)=0 a(5)=1 ...xx..... ...5...... ..xxx..... a(6-7)=2 below is a(6) .....xxx.. .....55... ....xxx... a(8-9)=4 below is a(8) .......x.. .....x5x5x .....x5x5x .......x.. a(10)=5 .....x.... ....x5x... ..x5x5x... ..x5x5.... ....x.x... a(11-12)=6 below is a(11) ...xx.x... ...555.... ..xxxxx... ...555.... ...xx.x... a(13)=7 ....xx.... ....555xx. ...xxxxx5. ....555xx. ....xx.... a(14)=8 .xxx.xxx.. ..55555... ..xxxxx... ...555.... ..x.xx.... a(15-16)=10 below is a(15) .xx.xx.... .55555.... xxxxxxx... .55555.... .xx.xx.... a(17)=11 ...xx.xx.. ...55555.. ..xxxxxxx. ..555555.. .xxx.xx.x. a(18)=12 .x.xx.xx.. ..555555.. .xxxxxxxx. ..555555.. ..xx.xx.x. a(19)=13 ..x....... x5x5x..... x5x5x5x... x5.5x5x... x5x5x5.... x5x5x.x... ..x....... a(20)=14 .....xx... .....55... ....xxxxx. ....55555. ...xxx.xxx ....55555. ....xxxxx. .....55... .....xx... a(21)=15 .....xx..... .....55..... ....xxxxx... ....55555... ...xxx.xxx.. ....55555... ....xxxxx... ....x555.... ......xx.... a(22-23)=16 below is a(22) .x.xx..... ..555..... .xxxxx.... .55555.... xxx.xxx... .55555.... .xxxxx.... .x555..... ...xx..... a(24)=17 .......x.... ...x...x5x.. ..5x5x5x5x.. .xxx5x5x5... ..5x5.5x5x.. ...x5x5x5x.. ...x5x5x.... .....x...... a(25)=18 ...xx....... .x5x5..x.... .x5x5x5x.... ..5x5x5x5... .x5x5.5xxx.. .x5x5x5x5... ...x5x5x.... .....x...... a(26-27)=20 below is a(26) ...xx.xx.... ...55555.... ..xxxxxxx... ...55555.... ...xx.xx.... ...55555.... ..xxxxxxx... ...55555.... ...xx.xx.... a(28-29)=22 below is a(28) ....xx.xx... ....55555... ...xxxxxxx.. ...555555... ..xxx.xx.x.. ...555555... ...xxxxxxx.. ....55555... ....xx.xx... a(30)=23 ...x.x...... .x5x5x.x.... .x5x5.5x5x.. ..5x5x5x5x.. .x5x5x5x5... .x5x5.5x5x.. ...x5x5x5x.. ...x5x5x.... .....x...... a(31)=24 .x.xx.xx.... ..555555.... .xxxxxxxx... ..555555.... ..xx.xx.x... ..555555.... .xxxxxxxx... ..555555.... ..xx.xx.x... a(32)=26 ....xx.xx... ....55555... ...xxxxxxxx. ...55555555. ..xxx.xx.xxx ...55555555. ...xxxxxxxx. ....55555... ....xx.xx...