Wilson's Theorem in Disguise

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.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


It is easy to find a symbolic solution of the above recurrence equation:
The above fraction is an integer only for prime by virtue of Wilson's theorem.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.