OFFSET
1,2
COMMENTS
Complement of A247986.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
MATHEMATICA
z = 100; p[k_] := p[k] = Product[(k^2 + h)/(k^2 - h), {h, 1, k}] (* Finch p. 14 *)
N[Table[p[n] - E, {n, 2, z}]]
f[n_] := f[n] = Select[1 + Range[z], p[#] - E < 1/n &, 1];
u = Flatten[Table[f[n], {n, 1, z}]] ; (* A247985 *)
v = Differences[u];
Flatten[Position[v, 2]]; (* A247986 *)
Flatten[Position[v, 3]]; (* A247987 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 29 2014
STATUS
approved