# Ordinary Generating function V.S. Exponential generating function

Here are some question in my book.

================================================================

There are some alphabets a,b,c and some numbers 1,2,3,4. And librarian try to make a password whose 9 digits.

(1) The number of the total use of alphabet is odd number.

(2) The number of the total use of the number is even number.

(3) When it comes to password, the group of the alphabets should be in front of the group of the numbers. (E.g.) acbca2122, aaaaaaa33

Under the conditions (1)~(3), How many the number of the passwords the librarian can make?

=======================================================

The solution of the above question used each case's(alphabet and number) ordinary generating functions and producted between them.

# But I have a doubt why should I use the ordinary generating functions for instead of the exponential generating functions to find $$nth$$ array.

(In my experiences, ordinary generating function and exponential generating functions are often used for distribution and array respectively in my experiences)

So Does anyone tell me Why Should I use the ordinary generating function instead of the exponential generating functions?

Any help or advices will be appreciated.

Thank you.