178k views
4 votes
For fun question

find the formula for how many items are in a 2 deimentional pyramid (each row is 1 more than previous row like in attachment) when you have n number of rows

n=number of rows
n,x means when you have n rows, you have x items in pyramid

n=1, 1
n=2, 3
n=3, 6
n=4, 10
n=5, 15


find the number of items when you have n number of rows
f(n)=something


SHOW ALL WORK AND LOGIC
NO GOOGLING TO FIND ANSWER OR JUST PUTTING THE ANSWER

For fun question find the formula for how many items are in a 2 deimentional pyramid-example-1
User Ewahner
by
8.2k points

1 Answer

0 votes
We have an arithmetic progression:
an=number of item at row n

an=a₁+(n-1)d

d=common difference=an-a(n-1)=a₂-a₁=2-1=1
n=number of row

In this case:

an=1+(n-1)*1=n

The sum of an arithmetic serie is:
Sn=(a₁+an)n / 2

In this case:
a₁=1 (number of itms in the first row)
an=n (we have to calculate this before)

Sn=(1+n)n /2=(n+n²)/2

Therefore:
f(n)=Sn=number of items when we have n number of rows

f(n)=(n+n²)/2

Answer: f(n)=(n+n²)/2

To chek:

f(1)=(1+1²)/2=1
f(2)=(2+2²)/2=6/2=3
f(3)=(3+3²)/2=(3+9)/2=12/2=6
....
User Cdagli
by
8.1k points