Comprehension Passage
Directions: In a number system there are symbols namely $ and %.
‘0’ is represented by ‘$’ and ‘1’ is represented by ‘%’.
Subsequently,
‘2’ is represented by ‘%$’.
‘3’ is represented by ‘%%’.
‘4’ is represented by ‘%$$’.
‘5’ is represented by ‘%$%’.
‘6’ is represented by ‘%%$’.
Based on the above pattern, answer the question that follows -
What would be the code for the prime number that comes after ‘7’?
1
% $ % %
2
$ % $ $
3
$ % $ %
4
$ % % $
5
% % $ $