a(n) is the maximum possible length of a sequence consisting of integers [0..n-1] such that no two nonempty adjacent segments of the same length have the same sum modulo n.

A161810

a(n) is the maximum possible length of a sequence consisting of integers [0..n-1] such that no two nonempty adjacent segments of the same length have the same sum modulo n.

Terms

    a(0) =1a(1) =3a(2) =7a(3) =16a(4) =33a(5) =35a(6) =47a(7) =61

External references