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.

A168395 Moebius function of odd interprimes (A072569).

Original entry on oeis.org

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

Views

Author

Jani Melik, Nov 24 2009

Keywords

Crossrefs

Cf. A008683.

Programs

  • Maple
    ts_fip_lih:=proc(n) local i,an,tren: an:=[ ]: for i from 2 to n do tren:=(ithprime(i)+ithprime(i+1))/2: if (tren mod 2 <> 0) then # an:=[ op(an), tren ]: an:=[ op(an), numtheory[mobius](tren) ]: fi: od: RETURN(an) end: ts_fip_lih(2000);