Riker and Picard discuss Fermat’s Last Theorem in “The Royale.” Captain Picard: ‎”For 800 years people have been trying to solve it (Fermat’s Last Theorem)…”

Andrew Wiles did solve it after more than 350 years after Fermat first mentioned the proposition in the margin of his Arithmetica in 1637. Wiles proved FLT in 1994 and it was published in 1995. Apparently, the writers of ST TNG thought this theorem was completely inaccessible.

YouTube Pic View the video here.