OFFSET
1,7
COMMENTS
Number of distinct prime factors of prime(n) - 2.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
EXAMPLE
MATHEMATICA
Table[Length[FactorInteger[Prime[n]-2]], {n, 1, 50}]
Join[{0}, Table[PrimeNu[Prime[n] - 2], {n, 2, 50}]] (* G. C. Greubel, May 19 2017 *)
PROG
(PARI) concat([0], for(n=2, 50, print1(omega(prime(n) - 2), ", "))) \\ G. C. Greubel, May 19 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Labos Elemer
STATUS
approved