[math-fun] Variant of Ulam's spiral