[go: up one dir, main page]

login
A099990
a(n) = Moebius(2n+1).
5
1, -1, -1, -1, 0, -1, -1, 1, -1, -1, 1, -1, 0, 0, -1, -1, 1, 1, -1, 1, -1, -1, 0, -1, 0, 1, -1, 1, 1, -1, -1, 0, 1, -1, 1, -1, -1, 0, 1, -1, 0, -1, 1, 1, -1, 1, 1, 1, -1, 0, -1, -1, -1, -1, -1, 1, -1, 1, 0, 1, 0, 1, 0, -1, 1, -1, 1, 0, -1, -1, 1, 1, 1, 0, -1, -1, 0, 1, -1, 1, 1, -1, -1, -1, 0, 0, -1, 0, 1, -1, -1, 1, 1, 1, 0, -1, -1, -1, -1, -1, 1, 1, 1, 0, 1
OFFSET
0,1
MATHEMATICA
a[n_] := MoebiusMu[2*n + 1]; Array[a, 100, 0] (* Amiram Eldar, Jul 23 2023 *)
PROG
(PARI) a(n) = moebius(2*n+1); \\ Michel Marcus, Aug 12 2021
CROSSREFS
Bisection of A008683.
Cf. A099991.
Sequence in context: A106465 A071027 A337264 * A089939 A330550 A059095
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Nov 20 2004
STATUS
approved