The new upper limit for n is 10000