TCS Company Numerical Ability Permutation and Combination

not geting it....Distribute 10 "different" pencils among 3 students??

Read Solution (Total 15)

TCS Other Question

What is the greatest positive integer n for which n3 + 244 is divisible by n + 8? hey pls expln this....if f(x) = ${({rm{1 + x + }}{{rm{x}}^2} + {x^3} + .......{x^{2012}})^2} - {x^{2012}}$
g(x) = ${rm{1 + x + }}{{rm{x}}^2} + {x^3} + .......{x^{2011}}$
Then what is the remainder when f(x) is divided by g(x