In the initial comment five values are stated to be not divisible by 3, 5, 7, and 11. That is true for 1 and 3160 but not for 2, 10, and 3159:

The last base-3-digit of 2 is 2. The last base-11-digit of 10 is 10. The last base-5-digit 3159 is 4.

Or check these facts:

2 and 3159 are not in the sequence A030979 (mentioned in the bibliography).

## 2, 10, and 3159 are not valid for problem (2)

In the initial comment five values are stated to be not divisible by 3, 5, 7, and 11. That is true for 1 and 3160 but not for 2, 10, and 3159:

The last base-3-digit of 2 is 2. The last base-11-digit of 10 is 10. The last base-5-digit 3159 is 4.

Or check these facts:

2 and 3159 are not in the sequence A030979 (mentioned in the bibliography).