ARIEN3228
There are five cards lying on the table in one row. Five numbers from among 1 to 100 have to be written on them, one number per card, such that the difference between the numbers on any two adjacent cards is not divisible by 4. The remainder when each of the 5 numbers is divided by 4 is written down on another card (the 6th card) in order. How many sequences can be written down on the 6th card?
A. 2^10
B. 2^10 x \(3^3\)
C. \(4 × 3^4\)
D. \(4^2 × 3^3\)
E. \(10^2\)
Any positive integer will be of one of the four forms:
4a / 4a+1 / 4a+2 / 4a+3
e.g. 6 = 4a + 2, 19 = 4b + 3, 21 = 4c + 1 etc
If difference between 2 numbers is not divisible by 4, it means the two numbers are not of the same form e.g. both cannot be of the form 4b + 3 such as 19 and 27. Hence the remainders they will leave on division by 4 cannot be the same.
This means that the sequence of 5 remainders needs to be such that no 2 adjacent remainders are the same. The first remainder can take one of 4 values (0/1/2/3). The second remainder can take one of 3 values (it cannot take the same value as the first remainder). Similarly, the third remainder can take one of 3 values (it cannot take the same value as the second remainder). The fourth remainder can take one of 3 values (it cannot take the same value as the third remainder).
Then number of different sequences = 4 * 3 * 3 * 3 * 3 \(= 4 * 3^4\)
Hence examples of sequences of remainders are [0, 1, 2, 1, 0] or [3, 1, 2, 1, 2] etc
Answer (C)