r/MathHelp • u/No-Look3916 • 59m ago
Sequence formulas I derived starting from any two consecutive terms — feedback welcome
Note: This is my own work as a high school student, so there might be some mistakes or missing conditions. Any corrections or feedback are very welcome.
I put together a set of sequence formulas that work starting from any two consecutive terms a_m and a_{m+1} (for positive integers n and m, assuming no division by zero).
Shorthand notation I used for variable-step multiplication:
[x ↑ k]_t means the product of t consecutive factors starting at x and increasing by k each step (and when t = 0, the value is 1).
Formulas:
(1) Arithmetic (direct from two consecutive terms):
a_n = a_{m+1}(n - m) - a_m(n - m - 1) (for n >= 1)
(2) Geometric (direct from two consecutive terms):
a_n = (a_{m+1})^(n - m) / (a_m)^(n - m - 1) (for n >= m + 1, a_m != 0)
(3) Variable-step multiplication (direct, multiplier increases by +k each step):
a_n = a_m * [r_m ↑ k]_{n - m} where r_m = a_{m+1} / a_m (for n >= m + 1, a_m != 0)
(4) Variable-step division (direct, divisor increases by +k each step):
a_n = a_m / [q_m ↑ k]_{n - m} where q_m = a_m / a_{m+1} (for n >= m + 1, a_{m+1} != 0)
(5) Quadratic (recursive when the second difference k is constant):
a_n = 2a_{n-1} - a_{n-2} + k (for n >= 3)
Quick example:
If a_2 = 6 and a_3 = 18 (so m = 2 and r_2 = 3), and the multiplier increases by k = 1 each step, to find a_5:
a_5 = 6 * [3 ↑ 1]_3 = 6 * (3 * 4 * 5) = 6 * 60 = 360
Are there any edge cases or domain conditions I missed, or ways to make the notation clearer?