Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
see into 1/12 sector solution in Speedy category for Ulam-Warburton Automaton Hex by roman.bratishchev
# spot=(radius as imag, index on circle as real)
# the sequence is grown in 1/12 of the field, the target arcs are: {0j}, {1j}, {2j}, {3j,3j+1}, {4j,4j+1}, {5j,5j+1,5j+2}, etc.
def automaton(N:int) -> int:
done,gen,cnt={0j},{0j},1
for _ in range(N-1):
new_gen=set()
for spot in gen: # iterate through current generation
for nspot in spot+1j,spot-1j,spot+1+1j,spot-1-1j,spot+1,spot-1: # get all neighbours ...
if 0<=2*nspot.real
Oct. 3, 2025