Count Distinct Numbers on Board
Start with n on the board and repeatedly add every i in [1, n] where some board value x has x mod i equal to 1, until nothing changes.
Start with n on the board and repeatedly add every i in [1, n] where some board value x has x mod i equal to 1, until nothing changes.