OFFSET
1,2
COMMENTS
For many primes p, there are only 3 primes (2,3,p) such that q-1|p-1. See A092307 for a list of those primes.
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
EXAMPLE
a(12)=7 because for prime(12)=37 there are seven primes q={2, 3, 5, 7, 13, 19, 37} such that q-1 divides 36.
MATHEMATICA
Table[p=Prime[n]; Length[Select[Divisors[p-1]+1, PrimeQ]], {n, 150}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Feb 12 2004
STATUS
approved