5565/3=1855
so there will be 3 grps of 1855,so 2 comparisons
then 1855/5=371
so 5 grp of 371 so 4 comparisons required
371/7=53
6 comparisons r required
53 a prime no can be further divided so 52 comparisons required total=2+4+6+52=64