Number of primitive prime factors of 7^n + 1.
1, 0, 1, 1, 1, 2, 2, 2, 2, 1, 2, 2, 3, 2, 1, 1, 2, 1, 1, 2, 2, 2, 3, 1, 1, 1, 2, 1, 4, 1, 2, 3, 3, 2, 3, 4, 3, 2, 1, 3, 3, 4, 1, 7, 3, 4, 4, 1, 3, 7, 4, 3, 3, 4, 3, 5, 5, 3, 4, 4, 2, 1, 3, 5, 3, 2, 4, 3, 3, 3, 3, 2, 5, 3, 1, 3, 5, 5, 2, 4, 3, 4, 3, 2, 3, 2, 3
0
T. D. Noe, Plot of 87 terms
Wikipedia, Cunningham project
(Mma) pp = {}; Table[f = Transpose[FactorInteger[7^n + 1]][[1]]; p = Complement[f, pp]; pp = Union[pp, p]; Length[p], {n, 0, 86}]
Cf. A086257 (number of primitive prime factors of 2^n + 1), S000372 (7^n+1 has one primitive prime).
Cf. S000008-S000015, S000049 (primitive prime factors of 7^n + 1).
nonn,hard
T. D. Noe, May 14 2014
Offset corrected. - T. D. Noe, Nov 20 2014