A108512 a(n) is number of solutions of equation prime(x) = n*x - 1.
0, 3, 2, 0, 2, 1, 1, 1, 0, 3, 0, 2, 0, 2, 3, 1, 1, 8, 2, 9, 2, 1, 0, 5, 3, 1, 0, 0, 1, 0, 0, 3, 1, 0, 0, 6, 3, 0, 5, 2
Offset: 1
Examples
a(4) = 0 because the equation prime(x) = 4*x - 1 has no solution. a(20) = 9 because the length of set of the solutions of equation prime(x) = 20*x - 1 namely length of {69709705, 69709719, 69709734, 69709873, 69709878, 69709932, 69709935, 69709944, 69709965} equals 9.
Extensions
a(29)-a(33) from Donovan Johnson, Nov 15 2009
a(34)-a(40) from Jinyuan Wang, Aug 09 2021