login
A395282
a(n) = Sum_{d|n} mu(d)*Fibonacci(2*(n/d)+1).
0
2, 3, 11, 29, 87, 217, 608, 1563, 4168, 10854, 28655, 74763, 196416, 513616, 1346169, 3522981, 9227463, 24153416, 63245984, 165569166, 433493816, 1134874510, 2971215071, 7778665461, 20365010985, 53316094752, 139583858264, 365434781904, 956722026039, 2504729424618
OFFSET
1,1
COMMENTS
a(n) is the number of primitive rhythms of length n (see Romero-García et al.).
LINKS
Gonzalo Romero-García, Lama Tarsissi, Laurent Najman, and Carlos Agon, Counting rhythms using combinatorics on words, hal-05582871, 2026. See Theorem 3 and Table 2 at pages 11-12.
MATHEMATICA
a[n_]:=Sum[MoebiusMu[d]*Fibonacci[2(n/d)+1], {d, Divisors[n]}]; Array[a, 30]
PROG
(PARI) a(n) = sumdiv(n, d, moebius(d)*fibonacci(2*n/d+1)); \\ Michel Marcus, Apr 19 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Apr 18 2026
STATUS
approved