I'm trying to prove a recursive sequence via induction. However, this question is quite different from what is being taught from the lecture. The basics of where I can assume a base case $n = 1$, and a case of $n - 1$ or $n + 1$ thereafter. Next, the question may provide like some basic formula like adding different cases to get a fixed formula to the sequence,
However, in this question
$_ = 0$ where $n = 0$, //may use this as a base case
$_ = _{−1} + $ where $ \ge 1$
What I attempt is to allow the first function $_ = 0$ where $n= 2$ , while the second function $_ = 1$ where $n = 1$, and the third function $_ = 3$ where $n = 2$.
I'm suppose to prove by induction that for all $n \ge 0$, the solution is $_ = (n^2 + n)/2$.
How do I even know how to combine them together without knowing any prior formula to this?