Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A168395
Moebius function of odd interprimes (A072569).
0
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,1
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);
CROSSREFS
Cf. A008683.
Sequence in context: A167392 A190201 A189702 * A278718 A130854 A165191
KEYWORD
sign
AUTHOR
Jani Melik, Nov 24 2009
STATUS
approved