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).

This page as a plain text file.
%I A168395 #2 Mar 31 2012 10:24:25
%S A168395 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,
%T A168395 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,
%U A168395 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
%N A168395 Moebius function of odd interprimes (A072569).
%p A168395 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);
%Y A168395 Cf. A008683.
%K A168395 sign
%O A168395 1,1
%A A168395 _Jani Melik_, Nov 24 2009