Suppose that the order of foursomes is important: what people are in the first foursome, what are in the second foursome and so on.
a. (24C4) (20C4) (16C4) (12C4) (8C4) (4C4) = 24! / (4!)6 = 24! / 246 = 23! / 245
b. (6*18C3) (5*15C3) (4*12C3) (3*9C3) (2*6C3) (1*3C3) = 6! * 18! / (3!)6 = 17! *5 / 18
If the order of foursomes is not important, these answers must be divided by 6!.