Relations Question 43

Question: If A is the set of even natural numbers less than 8 and B is the set of prime numbers less than 7, then the number of relations from A to B is

Solution:

Answer: 512