If you want the animation to run linearly (From frames 1, 2, 3, 4, 5). You only need to set 2 keyframes, one at the beginning and one at the end. The value between two keyframes will interpolate (smoothly transform) from one number to another.