Track View > Curve Editor or Dope Sheet > Key Stats: Track View toolbar > Key Time Display (field on left)
The Key Time editable field (the field on the left) displays the frame number (position in time) of the selected key. You can enter a new frame number or enter an expression to move the key to a frame.
You can enter any expression in the time and value fields. The variable n stands for the key time or value. An expression can be as complex as you want, and can involve any function that is supported by Autodesk VIZ. For example, you could enter an expression such as: n/2+sin(n)*40^n.
The expression parsing in the time field works only when Time Configuration > Time Display is set to Frames. The expression parser doesn't understand SMPTE or Frame:Ticks.