[math-fun] stupid number theory problem