The correct option is A 240
X={102,120,132,210,312}
Y={120,132,312,320}
Total number of onto functions
=n∑k=0(−1)k nCk(n−k)m
where n is the number of elements in domain,
m is the number of elements in co-domain.
Here, m=5,n=4
Therefore, total number of onto functions =45−(4C1)(4−1)5+(4C2)(4−2)5−(4C3)(4−3)5
=240