benschlueter / AKS_PrimeTest

AKS Prime Test Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

561 is wrongly listed as prime

bmshukla opened this issue · comments

I have run the AKS_PrimeTest python code. It is showing 561 as prime which is wrong. 561%3 = 0
BM Shukla

This is caused by the swapped range values in step3.

I am not sure why, but now it should be fixed