A voltmeter has a resistance of g ohm and range of 1 volt. The value of resistance used in series to convert it into voltmeter of range n volt is