Quote:
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.

this kind of math got my brain cooked in a matter of seconds