By field along the axis of a solenoid B=µ0ni where B= magnetic field µ0= permeability of free space n= the number of turns per unit length i= current So, according to the formula, The magnitude of the magnetic field inside a long solenoid is increased by introducing a medium of higher permeability.