A family consist of a grandfather, 5 sons and daughter and 8 grandchildren. They are to be seated in a row for dinner. The grandchildren wish to occupy the 4 seats at each end and the grandfather refuses to have a grandchild on either side of him. The number of ways in which the family can be made to sit is:
hree flags each of different colours are available for a military exercise, Using these flags different codes can be generated by waving
I. Single flag of different colours
II. Any two flags in a different sequence of colours.
III. three flags in a different sequence of colours.
The maximum number of codes that can be generated is.