Revision history [back]

periodicity of a word

I have the following code to create words.

sage: M.<x,y,z> = FreeMonoid(3) sage: Word(x^3yxz^2x) word: xxxyxzzx

I want find the periodicity of a given word.

For example ababab has periodicity 3 and abcdabcde has periodicity 1.

Kindy help me with this.

Thank you.

periodicity of a word

I have the following code to create words.

sage: M.<x,y,z> = FreeMonoid(3) sage: Word(x^3yxz^2x) word: xxxyxzzx

I want find the periodicity of a given word.

For example ababab has periodicity 3 and abcdabcde has periodicity 1.

Kindy help me with this.

Thank you.

periodicity of a word

I have the following code to create words.

sage: M.<x,y,z> = FreeMonoid(3) sage: Word(x^3yxz^2x) word: xxxyxzzx

I want find the periodicity of a given word.

For example ababab has periodicity 3 and abcdabcde has periodicity 1.

Kindy Kindly help me with this.

Thank you.

 4 None eric_g 4124 ●7 ●37 ●91

periodicity of a word

I have the following code to create words.

sage: M.<x,y,z> = FreeMonoid(3)
sage: Word(x^3yxz^2x)
Word(x^3*y*x*z^2*x)
word: xxxyxzzxxxxyxzzx


I want find the periodicity of a given word.

For example ababab has periodicity 3 and abcdabcde has periodicity 1.

Kindly help me with this.

Thank you.