algorithm to create a seuqence of 2^n words created by n gifits of {0,1}
Source: 1992 German Federal - Bundeswettbewerb Mathematik - BWM - Round 2 p2
November 20, 2022
algorithmcombinatoricsWords
Problem Statement
All -digit words from the alphabet considered. These words should be in a sequence be arranged that from by changing of a single ornament (). Prove that the following algorithm achievesthis :
a) Start with .
b) Let with , .
Determine the exponent of the highest power of two dividing and set . In replace the ornament with . this is now .