There is a new 'combinations' module <gsl/gsl_combinations.h> for stepping through all possible combinations, k from n, in sequential order either backwards or forwards. It was submitted by Szymon Jaroszewicz <sj@cs.umb.edu>. A good piece of work.