A loan with level payment A and period rate i = e^{rΔt} − 1, whose balance follows B_{n+1} = B_n·(1 + i) − A, and whose principal B₀ is the annuity value A_N = Σ_{k<N} A·e^{−r(k+1)Δt} of its N payments: after n ≤ N payments the balance is the annuity value of the N − n payments still to come.
ℝ → (ℕ → ℝ) → ℕ → ℝ
The outstanding balance after n periods, given an initial balance B₀ and a principal-payment schedule P : ℕ → ℝ (period k's payment is P k for k = 1, …, n). Defined by the shared recurrence B_n = B_{n-1} - P_n.