A173756 Partial sums of A058313.
1, 2, 7, 14, 61, 98, 417, 950, 2829, 4456, 24873, 42980, 306091, 543462, 595741, 691290, 2459767, 4092108, 37557035, 193242042, 360012409, 516201296, 4341338257, 7943382348, 27024448579, 45075855410, 102204647503, 109956141102, 346222803073, 571398562364
Offset: 1
Crossrefs
Programs
-
Maple
a := proc(n) local i, k: add(numer(add((-1)^(k + 1)/k, k = 1 .. i)), i = 1 .. n): end proc: seq(a(n), n = 1 .. 40); # Petros Hadjicostas, May 06 2020
-
PARI
a(n) = sum(i=1, n, numerator(sum(k=1, i, (-1)^(k+1)/k))); \\ Michel Marcus, May 07 2020
Formula
a(n) = Sum_{i=1..n} A058313(i) = Sum_{i=1..n} numerator(Sum_{k=1..i} (-1)^(k+1)/k). [Corrected by Petros Hadjicostas and Michel Marcus, May 06 2020]
Extensions
Data corrected and extended by Petros Hadjicostas, May 06 2020
Comments