OFFSET
0,3
COMMENTS
EXAMPLE
For 0 <= n <= 5, the smallest prime p = A073918(n) such that p-1 has n distinct prime factors is p = prime(n)# + 1, therefore a(n) = n is the index of the largest prime dividing p - 1.
For n = 6, the smallest prime p such that p - 1 has 6 distinct prime factors is prime(5)#*prime(8) + 1, therefore a(n) = 8.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, May 31 2018
STATUS
approved