I can't test this for myself so can one of you do it? The attempt is this:
A+B = n
A-B = 1
If (A * B-squared) minus one can be divided by n then n is prime.
A+B = n
A-B = 1
If (A * B-squared) minus one can be divided by n then n is prime.
