OFFSET
1,1
COMMENTS
See A340818 for details.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..462
MATHEMATICA
d[p_] := 1/(p*(p + 1)); delta[n_] := delta[n] = d[Prime[n]]; f[0] = 1; f[n_] := f[n] = f[n - 1] * (1 - delta[n]) + (1 - f[n - 1]) * delta[n]; Denominator @ Array[f, 30]
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Amiram Eldar, Jan 22 2021
STATUS
approved