in reply to Re: Odometer pattern iterator (in C).in thread Odometer pattern iterator (in C). (Updated.)
Unfortunately, that iterate combinations_with_repeats() rather than just combinations() (See Algorithm::Combinatorics for the difference.)