The #ProjectEuler experience: You cannot even rely on formulas from Wikipedia. For real.
(Trust the indian youtuber, they are your last resort)