A124897 a(n) = mu(n^2 + 1), mu = A008683.
-1, -1, 1, -1, 1, -1, 0, 1, 1, -1, 1, 1, -1, -1, 1, -1, -1, 0, 1, -1, -1, 1, -1, -1, 1, -1, -1, 1, 1, 1, -1, 0, -1, 1, 1, -1, -1, 0, 1, -1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, 0, 1, 1, 1, 1, 1, -1, 1, 1, -1, -1, 0, 1, 0, 1, -1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 0, 1, -1, 1, 1, -1, 1, -1, -1, -1, 1, 0, -1, 1, 1, -1, -1, 0, 1, 1, 1, -1, 1, -1, 1
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
MoebiusMu[Range[107]^2+1] (* T. D. Noe, Nov 27 2006 *)
-
PARI
a(n) = moebius(n^2+1); \\ Michel Marcus, Jul 26 2022
Extensions
Corrected by T. D. Noe, Nov 27 2006