cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A173756 Partial sums of A058313.

Original entry on oeis.org

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

Views

Author

Jonathan Vos Post, Feb 23 2010

Keywords

Comments

Partial sum of the numerator of the n-th alternating harmonic number.

Crossrefs

Cf. A001008 (numerator of the n-th harmonic number), A025530, A058312 (denominators of the underlying sequence), A058313, A075830.

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