Pics attached are sample data for c=6107, c=14596111, and c=9874400051 showing iteration results using the formulas posted previously.
These test cases use the prime solution (x+n)(x+n) values and show the different iterations assuming f or d are treated as constants.
Interesting how holding f constant requires fewer jumps.