OFFSET
1,4
EXAMPLE
For n=4, the a(4) = 2 cycles counted are
{0 1 1 2 3 1} repeating
{0 3 3 2 1 3} repeating
There are 2 other cycles {0} and {0 2 2} mod 4 which are not counted because they are multiples of cycles counted at earlier n (n=1 for {0} and n=2 for {0 1 1}*2 = {0 2 2}).
MATHEMATICA
a[n_]:=Sum[MoebiusMu[d]Part[ResourceFunction["OEISSequence"]["A015134"], n/d], {d, Divisors[n]}]; Array[a, 70] (* Stefano Spezia, Sep 27 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jay Anderson, Sep 07 2023
STATUS
approved