In my case the pattern stabilised after just 120 i...
# advent-of-code
a
In my case the pattern stabilised after just 120 iterations and so Part2 just looked like:
Copy code
val finalPots2 : String = (1..120).fold(initialState){state, _-> evolve(state, rules)}
    val part2  = ((50000000000 - 120) * finalPots2.count { it == '#' }) + score(finalPots2)