I don't think your professor expected you to "solve" the series with an explicit expression anyway since it would be more costly than the recursive algorithms obtained directly from studying the patterns.
There's a fun fact though, I guess every series such as yours which, when "differentiated" n times yields a periodic pattern of length L can be effectively "solved" for, by being broken down in L polynomials of degree <=k.
In your particular case
7, 9, 14, 20, 27, 33, 42, 52, 63, 73, 86
2, 5, 6, 7, 6, 9, 10, 11, 10, 13
3, 1, 1, -1,3, 1, 1, -1,3
differentiating 2 times yields a periodic pattern of length 4 : 3,1,1,-1
and the series is given by 4 polynomials of degree 2, each of them giving the cases 0, 1, 2, 3 mod 4, respectively:
3 - 4X + 8X^2 yields the 1st, 5th, 9th, 13th, etc. (i.e. = 1 mod 4) terms of your series when X = 1, 2, 3, ...
in other words,
u_{1+4n} = 3 - 4n + 8n^2 gives 7, 27, 63...
1 + 8X^2 yields the 2nd, 6th, 10th, etc. (2 mod 4)
u_{2+4n} = 1 + 8n^2 gives 9, 33, 73
2 + 4X + 8X^2 yields the 3rd, 7th, 11th, etc (3 mod 4)
u_{3+4n} = 2 +4n +8n^2 gives 14, 42, 86...
and the last one giving the 4th, 8th, 12th,... (4 mod 4) is 4 + 8X + 8X^2
u_{4+4n} = 4 +8n +8n^2 gives 20, 52...
with these formulas you can compute any number of the series without going through all of them, though you probably don't need this
This post was edited by Hanako on Oct 12 2018 01:37pm