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.

A127513 Partial sums of A127511.

Original entry on oeis.org

1, -1, -5, -5, -21, 11, -53, -53, -53, 459, -565, -565, -4661, 3531, 19915, 19915, -45621, -45621, -307765, -307765, 740811, 2837963, -1356341, -1356341, -1356341, 32198091, 32198091, 32198091, -236237365, -773108277
Offset: 1

Views

Author

Gary W. Adamson, Jan 17 2007

Keywords

Examples

			a(3) = -5 = (1 - 2 - 4).
		

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember;
          numtheory[mobius](n)*2^(n-1) +`if`(n=1, 0, a(n-1))
        end:
    seq(a(n), n=1..30);  # Alois P. Heinz, Apr 04 2012
  • Mathematica
    Table[2^(n-1) MoebiusMu[n], {n, 1, 30}] // Accumulate (* Jean-François Alcover, May 21 2020 *)

Extensions

More terms from R. J. Mathar, Apr 04 2012