- #1
mesa
Gold Member
- 695
- 38
Basically I am trying to find an expression that can add exponents. Here is an example, let's say we start with n=5, I need something that will calculate 5^2+4^2+3^2+2^2+1^1 by putting in whatever value for n that I choose.
So far I have
n^3+n^2(n-1)+n(n-1)
The end, n(n-1) isn't working quite right. I need to get it to be the same as (n-1) as in the example using n=5 above, or in other words
n(n-1) = 4^2+3^2+2^2+1^2
which it doesn't lol
Looking at it, I am basically running into the same issue again and may need to just start from scratch lol, what do you think?
So far I have
n^3+n^2(n-1)+n(n-1)
The end, n(n-1) isn't working quite right. I need to get it to be the same as (n-1) as in the example using n=5 above, or in other words
n(n-1) = 4^2+3^2+2^2+1^2
which it doesn't lol
Looking at it, I am basically running into the same issue again and may need to just start from scratch lol, what do you think?