powered by
Creates indices for all factor combinations up to maxk
generate_combination_indices(L, maxk)