One way is to sum all the numbers of the row/column/section. If the sum is 45, it's probably correct.
Unfortunately that's nowhere near sensitive enough - eg the sum of nine fives is also 45. But it does inspire an idea for an improved version...
how about summing thesquares of the nine numbers? I don't have the math to prove it, but I strongly suspect there's only one way to add nine perfect squares to give 285
JamesCherrill
Posting Genius
6,373 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073