The American Mathematical Monthly problem 10578 considers a sequence defined by recurrence equation with initial conditions and asks to show that is only an integer for prime .

This Demonstration uses Mathematica's built-in function RecurrenceTable to generate the sequence and finds for which is an integer.