# Formula for merging items

#### Peedoe

##### New member
Not sure if this is the right area (algebra or not), but looking for a formula to calculate how many of a level 1 item are needed to create a level 2, 3, 4,...10 item when it takes 3 1's to make a 2, then 3 2's to make a 3, etc., etc.

I want to create a table that has the level I want to achieve (say 10) and then it will show how many of the preceding levels it will take me to get there, something like this.

10: 1
9: 3
8: 9
etc.

Hoping for a formula in case the quantity may change to 2 or 4 needed to merge to next level.

#### Dr.Peterson

##### Elite Member
It looks like level 9 equals 3 level 10's; level 8 equals 3^2 level 10's; and so on, so that level n equals 3^(10-n) level 10's. You could replace 3 and 10 with other numbers as needed.

#### Peedoe

##### New member
Perfect
 Level Desired: Units Desired: 10​ 1 9​ 3 8​ 9 7​ 27 6​ 81 5​ 243 4​ 729 3​ 2,187 2​ 6,561 1​ 19,683