lucky

CF

Lucky Number

A Lucky Number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares…