Hacker News new | ask | show | jobs
by keepamovin 606 days ago
Looks like a quadratic residue check for primes, or just a residue check

But passing to ChatGPT reveals it is in fact a test for if the number is a Fibonacci number