Simplify this equation?

ViRaLRuSh

Golden Member
Nov 15, 2002
1,233
0
0
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
 

AvesPKS

Diamond Member
Apr 21, 2000
4,729
0
0
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?
 

oboeguy

Diamond Member
Dec 7, 1999
3,907
0
76
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. :D
 

gopunk

Lifer
Jul 7, 2001
29,239
2
0
yups

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

ViRaLRuSh

Golden Member
Nov 15, 2002
1,233
0
0
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

 

AvesPKS

Diamond Member
Apr 21, 2000
4,729
0
0
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. :D

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

Dacalo

Diamond Member
Mar 31, 2000
8,778
3
76
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. :D

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

lol been there :p