https://raku-musings.com/sequential-squares.html