[GAP Forum] Replacing in GAP

AHMET ARIKAN arikan at gazi.edu.tr
Mon Mar 19 11:21:54 GMT 2007


Dear All, one of my colleagues asked me the following question which seems 
easy but useful:

Let  y=(a_1,a_2,...,a_k) be a cycle of length k where a_i is a natural 
number for each i. Is there a way in GAP to replace some determined 
components with some other natural numbers (for example replace a_{i_1},..., 
a_{i_t} with some different natural numbers). Of course it can be done 
manually, but it is not helpful for him.

With best wishes,

Ahmet Arikan




More information about the Forum mailing list