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.

A055132 Moebius function (A008683) applied to each term in the triangle A055096.

Original entry on oeis.org

-1, 1, -1, -1, 0, 0, 1, -1, 1, -1, -1, 0, 0, 0, -1, 0, -1, 1, 1, 1, 1, 1, 0, -1, 0, -1, 0, -1, 1, 1, 0, -1, 1, 0, -1, 1, -1, 0, -1, 0, 0, 0, -1, 0, -1, 1, 0, -1, -1, 1, -1, -1, 1, 1, 1, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 1, -1, -1, 1, 1, 1, 1, 1, -1, 0, -1, -1, -1, -1, 0, 1, 0, 1, 0, 0, 0, -1, 0, -1, 0, 1, 1, -1, 0, -1, 0, 0, 1, 0, 0, 0, 1, 0, 1, -1
Offset: 1

Views

Author

Antti Karttunen, Apr 04 2000

Keywords

Crossrefs

Cf. A055097.

Programs

  • Maple
    sum2distinct_squares_array := (n) -> (((n-((trinv(n-1)*(trinv(n-1)-1))/2))^2)+((trinv(n-1)+1)^2));
    with(numtheory,mobius); a(n) = mobius(sum2distinct_squares_array(n))