To develop this problem we need to keep in mind the concept of centripetal energy and magnetic force.
The centripetal energy of a body by definition is given as,
Where,
m=mass
v=velocity
r=radius
In the other hand we have the magnetic force, defined by,
Where,
B=Magnetic Field
q= charge
v= Velocity.
In equilibrium we have that
Solving for have B,
Our values are given by,
Therefore the strength of the magnetic field inside the solenoid is