Solve linear non‑homogeneous recurrence (#723)