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.

A168393 Moebius function of interprimes (A024675).

Original entry on oeis.org

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

Views

Author

Jani Melik, Nov 24 2009

Keywords

Crossrefs

Cf. A008683.

Programs

  • Maple
    ts_fip:=proc(n) local i,an: an:=[ ]: for i from 2 to n do an:=[ op(an), numtheory[mobius]((ithprime(i)+ithprime(i+1))/2) ]: od: RETURN(an) end: ts_fip(500);