OFFSET
0,2
COMMENTS
In Minecraft worlds, a source block of water can be reacted with another source block, two blocks away, linearly or diagonally. This reaction creates a third "infinite" source block in the unoccupied intermediate block or blocks, so called because if the intermediate water source is destroyed or picked up by a player using a bucket, it will immediately regenerate itself.
A placement of water at several positions in an n X n board is said to be static if no infinite water sources are created that are not already present. In particular, the total quantity of water in the system is held constant.
LINKS
EthosLab, Minecraft - Tutorial: Water
Christopher Cormier, C# Program
MATHEMATICA
vdist[v_, w_]:=Total[Abs[v-w]];
flowdown[prs_]:=Union[prs, With[{ovs=Select[Subsets[prs, {2}], vdist@@#==2&]}, Union@@Function[{v, w}, Select[Tuples[{Range[Min@@Union[First/@prs], Max@@Union[First/@prs]], Range[Min@@Union[Last/@prs], Max@@Union[Last/@prs]]}], vdist[v, #]==1&&vdist[w, #]==1&]]@@@ovs]];
Table[Length[Select[Subsets[Tuples[Range[n], 2]], flowdown[#]==#&]], {n, 0, 3}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 26 2019
EXTENSIONS
a(5)-a(6) from Christopher Cormier, Dec 10 2019
a(7)-a(15) from Christopher Cormier, Dec 19 2019
STATUS
approved