a(n) = primal code characteristic of n, which is the least positive integer, if any, such that (n o)^k = 1, otherwise equal to 0. Here "o" denotes the primal composition operator, as illustrated in A106177 and A108371 and (n o)^k = n o ... o n, with k occurrences of n.

A108352

a(n) = primal code characteristic of n, which is the least positive integer, if any, such that (n o)^k = 1, otherwise equal to 0. Here "o" denotes the primal composition operator, as illustrated in A106177 and A108371 and (n o)^k = n o ... o n, with k occurrences of n.

Terms

    a(0) =1a(1) =0a(2) =2a(3) =2a(4) =2a(5) =0a(6) =2a(7) =2a(8) =0a(9) =0a(10) =2a(11) =0a(12) =2a(13) =0a(14) =2a(15) =2a(16) =2a(17) =0a(18) =2a(19) =3a(20) =2a(21) =0a(22) =2a(23) =3a(24) =2a(25) =0a(26) =2a(27) =3a(28) =2a(29) =0

External references