We know the magnetic field in long solenoid given as,
B=μ0Nli
By substituting the given values in above equation we get
3.14×10−2T=1.25×10−6TmA⋅Nl5A
Nl=3.14×10−21.25×5×10−6m
Hence the number of turns per unit length is5024