And what should the program do if someone cruelly tosses in a digits-of-pi generator and asks it to find the period?