int comb = ( << k) - ; while (comb < (<<n)) { int x = comb & -comb, y = comb + x; comb = (((comb & ~y)/x)>>) | y; }