In constructing a problem of vectors,the THREE components of a vector are randomly chosen from the digit 0,..................,n i.e. 0 to nwith replacements.What is the probability that the magnitude of vector is n ?
Also try to find out the same for TWO components instead of three.