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.