mass attached to the spring,
Now if spring is cut into half its spring-constant, k, doubles.
Hence time period, T, is decresed by
The above explanation is valid only if spring is ideal, i.e. massless.
A more general formula is
mass of spring.
I believe you can find the modified time-period.