ag4gt Posted April 26, 2005 Posted April 26, 2005 Can anyone give me the general formula for the number of can in a pyramidal stack? Say you have a stack of soup cans. The first row (the one on the bottom) of cans has N cans in it. The next row has N-1. This continues until you reach N rows which has 1 can in it. Thanks
Dave Posted April 27, 2005 Posted April 27, 2005 It's the equation for the triangle numbers, and is given by: [math]T_n = \frac{n(n+1)}{2}[/math].
ag4gt Posted April 27, 2005 Author Posted April 27, 2005 Thank you very much! That is just what I needed.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now