Skip frames in rendering
This addon called Loom is exactly what you need.
It allows you to specify ranges and specific frames that you want to render or skip. It's even possible to render every nth frame.

The addon allows to render single frames, multiple frame ranges as well as subframes, either directly within Blender's UI (as usual) or in a new terminal instance as background process in case you want to continue working while rendering.

From: How to render specific frames of animation