The resistance of the series combination of two resistances is S. When they are joined in parallel the total resistance is P. If S= nP then the minimum possible value of n is