login
a(n) = mu(prime(n)+1), where mu is the Moebius function.
4

%I #7 May 10 2021 01:09:54

%S -1,0,1,0,0,1,0,0,0,-1,0,1,-1,0,0,0,0,1,0,0,1,0,0,0,0,-1,0,0,-1,-1,0,

%T 0,-1,0,0,0,1,0,0,-1,0,-1,0,1,0,0,0,0,0,-1,0,0,0,0,-1,0,0,0,1,-1,0,0,

%U 0,0,1,-1,0,0,0,0,-1,0,0,-1,0,0,1,1,-1,-1,0,1,0,-1,0,0,0,1,1,0,0,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,-1,0,1,-1,0,0,-1,0,0

%N a(n) = mu(prime(n)+1), where mu is the Moebius function.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/MoebiusFunction.html">Moebius Function</a>

%t Table[MoebiusMu[Prime[n]+1], {n, 150}]

%Y Cf. A049098 (primes p such that mu(p+1) = 0), A078329 (primes p such that mu(p+1) = -1), A089523 (primes p such that mu(p+1) = 1), A089451 (mu(p-1) for prime p), A089496 (mu(p+1)+mu(p-1) for prime p), A089497 (mu(p+1)-mu(p-1) for prime p).

%Y A067461(n) - 1.

%K sign

%O 1,1

%A _T. D. Noe_, Nov 04 2003