1.

You are given an unlimited supply of each of the digits 1, 2, 3, or 4. Using only these four digits, you construct n digit numbers. Such n digit numbers will be called BEAUTIFUL if it contains the digit composite number either an even number times or not at all. Number of n digit BEAUTIFUL numbers are

Answer»

`2^(n)+1`
`2^(n+1)+2`
`2^(n-1)(2^(n)+1)`
`2^(n+2)+4`

ANSWER :C


Discussion

No Comment Found

Related InterviewSolutions