Let m be a positive integer and let A, respectively B, be an alphabet with m, respectively 2m letters. Let n be an even integer greater than or equal to 2m. Let an be the number of words of length n made of letters from A such that every letter in A occurs a positive even number of times. Let bn be the number of words of length n made of letters from B such that every letter in B occurs an odd number of times. Determine the ratio bn/an.
Solution
Deletion of all bars in a word in Bn produces a word in An. Now let α be a word in An and let ai occur ki times in α; the ki are positive even integers which add up to n. Since there are exactly 2ki−1 distinct ways to bar ai an odd number of times in α, the preimage of α under deletion of all bars has exactly 2k1−1⋯2km−1=2n−m elements. The conclusion follows.
Alternative Solution: The number an is the coefficient of xn/n! in the formal expansion A(x)=(k≥1∑(2k)!x2k)m=(2(ex+e−x)−1)m=2−m(ex/2−e−x/2)2m.
Similarly, bn is the coefficient of xn/n! in the formal expansion B(x)=(k≥1∑(2k−1)!x2k−1)2m=2−2m(ex−e−x)2m.
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.