OFFSET
1,2
EXAMPLE
For n=1 a(n)=(p(k(1))-2)/(k(1)-1), where k(1)=2, p(2)=3, and a(1)=1;
For n=2 a(n)=(p(k(2))-2)/(k(2)-1), where k(2)=10, p(10)=29, and a(2)=3;
For n=3 a(n)=(p(k(3))-2)/(k(3)-1), where k(3)=68, p(68)=337, and a(3)=5;
MATHEMATICA
a = {}; Do[s = (Prime[k] - 2)/(k - 1); If[IntegerQ[s], AppendTo[a, s]], {k, 2, 1000000000}]; a
CROSSREFS
KEYWORD
nonn,more
AUTHOR
V.J. Pohjola, Aug 25 2013
STATUS
approved