[Rule 1]
Same number and alphabet may be used repeatedly.
[Rule 2]
It is not permitted that there are numbers only or alphabet only among three pieces.
Answer the following questions.
(1) When the alphabet is three kinds, A, B, and C, find all numbers of way for lining up.
(2) When the ways of lining up are 5000 or more kinds, find the fewest number of the kinds of the alphabet.
Answer
(1) 1170 ways
(2) 9
(2) 9