News for hackers. Stuff that matters.
Re:Inverting Gauss’ Formula by bibanez on Tuesday August 22, 2023 @06:54PM (#37229663)
To walk a fully connected graph with a prime number of vertices you can walk first to x+1, then x+2 then x+3 etc. edges by looping around. This a fun special case to prove (basically if you loop by x+i where i coprime to n, it loops after visiting all the vertices, and if n is prime every i is coprime to it)

There are no comments on this comment yet.