• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Simplify this equation?

ViRaLRuSh

Golden Member
1^2 + 2^2 + 3^2 ......n^2

What could it be? is it (n+1)^2? Just wondering cause I know it's gonna be on my Data Structures final
 
Well, it's a series...so, it'd be a sigma in front, with n=1 on the bottom, n=infinity at the top, and n^2 to the right of the sigma...right?
 
Sounds right. Note that there's no "infinity" in the first post, it simply goes to "n". So the summation notation form should not use "n" as the index, tsk tsk. 😀
 
yups

and for a data structures class, you should probably note that an algorithm with that order time complexity is O(n^3)
 
Originally posted by: gopunk
yups

and for a data structures class, you should probably note that an algorithm with that order time complexity is O(n^3)


Man, you're some sort of wiz-kid 🙂

p.s. I hate complexities

 
Originally posted by: oboeguy
Sounds right. Note that there's no "infinity" in the first post, it simply goes to "n". So the summation notation form should not use "n" as the index, tsk tsk. 😀

Damn...I've been up for 26 hours writing a polisci paper due at...45 minutes...
 
Originally posted by: AvesPKS
Originally posted by: oboeguy
Sounds right. Note that there's no "infinity" in the first post, it simply goes to "n". So the summation notation form should not use "n" as the index, tsk tsk. 😀

Damn...I've been up for 26 hours writing a polisci paper due at...45 minutes...

lol been there 😛
 
And, just in case you should ask,

1^3 + 2^3 +3^3 +4^4 + ... + n^3 = (n^2)(n + 1)^2/4

(want the 4th, 5th, 6th too?)
 
Back
Top