You are both correct, the extra 14 values are just the trivial composites mod 3 and mod 5. Did not really think about that, I just always used the 16 values (mod 120), but I could have also used +/- 1 (mod 8).
Good thing I posted in Misc. Math thread then.
Last fiddled with by ATH on 2020-10-07 at 18:05
|