You probably really want to use RSolve[]
instead. The code
RSolve[a[j] + a[1 + j] == a[-2 + j] + a[-1 + j], a[j], j]
returns
{{a[j] -> (-1)^j*C[1] + (-1)^j*j*C[2] + C[3]}}
You probably really want to use RSolve[]
instead. The code
RSolve[a[j] + a[1 + j] == a[-2 + j] + a[-1 + j], a[j], j]
returns
{{a[j] -> (-1)^j*C[1] + (-1)^j*j*C[2] + C[3]}}