Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
bonzini
1y ago
0 comments
Save
Share
4 and 5 too
0 comments
2 comments · 1 top-level
top
newest
oldest
globnomulous
1y ago
· 1 in thread
How so? I'm too dumb to see it.
bonzini
OP
1y ago
The sum of the first n cubes is always the square of the sum of numbers from 1 to n. For example 1³+2³+3³+4³=(1+2+3+4)².
You can prove it by induction; just expand (n(n+1)/2)² – (n(n-1)/2)², the result is n³.
j
/
k
navigate · click thread line to collapse