A random variable \[\mathrm{X}\] assumes values 1, 2, 3, ....., n with equal probabilities, if \[\operatorname{var}(X)=E(X)\], then \[\mathrm{n}\] is