OFFSET
1,4
LINKS
Alessandro Gambini, Table of n, a(n) for n = 1..60 (terms 24..60 from Mattia Cafferata)
A. Gambini, R. Tonon and A. Zaccagnini, Signed harmonic sums of integers with k distinct prime factors, arXiv:1911.11969 [math.NT], 2019.
EXAMPLE
(2*3*5*7)*(1/2 - 1/3 - 1/5 + 1/7) = (210)*(23/210) = 23, so a(4) = 23.
MATHEMATICA
a[n_] := Block[{p = Prime@ Range@ n}, Min@ Abs[{1/p}.Transpose@ Tuples[{-1, 1}, n]] Times @@ p]; Array[a, 16] (* Giovanni Resta, Feb 11 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alessandro Gambini, Feb 11 2020
STATUS
approved