slight memory efficiency improvement (even multiples are skipped, so we actually only need to go up to n/3)