🧠 Episode "Marge in Chains" (Season 4, Episode 21)
In this episode, Apu states in court: "I can recite the number π to 40,000 decimal places. The last digit is one." To ensure accuracy, the writers consulted a mathematician from NASA, who confirmed that the 40,000th digit after the decimal point is indeed 1.