After feedback from some friends of mine, and doing a little bit of background research, I am writing this update to my original post last week. As it turns out, by checking all the numbers in the form 6k ± 1 instead of checking each number up to the input value, I have increased the speed …