The resolving power of a telescope depends on
Focal length of eye lens
focal length of objective lens
length of the telescope
diameter of the objective lens.
For a telescope, R.P = a1.22 λwhere ‘a’ is the diameter of the objective lens.