OFFSET
1,2
FORMULA
EXAMPLE
n=6, s(n) = 1/2 + 1/6 + 1/12 + 1/60 + 1/420 + 1/840 = 646/840 = 323/420, the numerator is a(6)=323.
MATHEMATICA
s=Select[Range[a, b], Equal[Length[FactorInteger[ # ]], 1]&] a(m) = Apply[LCM, Table[Part[s, w], {w, 1, m}]]
CROSSREFS
KEYWORD
frac,nonn
AUTHOR
Labos Elemer, Oct 10 2001
STATUS
approved