Number of words that can be made with the letters of the word " GENIUS " if each word neither begins with G nor ends with S.
$(a)$ $24$
$(b)$ $240$
$(c)$ $480$
$(d)$ $504$
Are we supposed to make cases here like two letter word, three letter word and so on?
Is there any easier approach to this problem?
Use inclusion/exclusion principle:
Hence the number of such words is $6!-5!-5!+4!=504$.