The number of integral terms in the expansion of (512+716)642 is
108
Tr+1 = 642Cr(512)642−r.(716)r
Obviously, r should be a multiple of 6.
Total number of terms = 6426 = 107,
but first term for r = 0 is also an integer. Hence total terms are 107 + 1 = 108.