Establishing a list of the factors of a given length
During the pseudo-algorithm (see PlanForAGeneralStrategy) we often need to provide a list of the factors of a given length (usually small). This can be done algorithmically :
Input : (a non-erasing substitution), (a letter such that begins with and has at least 2 letters), (an integer).
Output : List of factors of length at most of the fixed point of that begins with the letter .
(liste that contains the word '' as unique element, i.e. )
(pointer)
while is less or equal to the length of do
Add to the factors of length at most of that are not yet elements of
Copyleft 2005-2009. Tout est libre ici! Everything is free here! This project is not supported by any grant, organisation,...
Ideas, requests, problems regarding TWiki? Send feedback.