hey the n (for the B field is B=μo*i*n where μo is the permeability) you mentioned first time is no. of turns per unit length
the n you mentioned the second time is no. of turns N
n=N/L
L- length of the solenoid
As to the basic question , what you are trying to do is impossible...