javaiscrazy
New member
- Joined
- Oct 4, 2009
- Messages
- 9
Hi guys.
I want to calculate the sum of the following queue
(4 * 3^k-1) 6
k=1
K is between 1 - 6
And here’s how I think:
so;
(4 * 3^1-1 ) is 4 * 3^0 = 4 * 0 = 0.
(4 * 3^2-1 ) is 4 * 3 = 12
(4 * 3^3-1 ) is 4 * 9 = 36
(4 * 3^4-1 ) is 4 * 27 = 108
(4 * 3^5-1 ) is 4 * 81 = 364
(4 * 3^6-1 ) is 4 * 243 = 972
And you just calculate these
0+12+36+108+364+972= right?
I want to calculate the sum of the following queue
(4 * 3^k-1) 6
k=1
K is between 1 - 6
And here’s how I think:
so;
(4 * 3^1-1 ) is 4 * 3^0 = 4 * 0 = 0.
(4 * 3^2-1 ) is 4 * 3 = 12
(4 * 3^3-1 ) is 4 * 9 = 36
(4 * 3^4-1 ) is 4 * 27 = 108
(4 * 3^5-1 ) is 4 * 81 = 364
(4 * 3^6-1 ) is 4 * 243 = 972
And you just calculate these
0+12+36+108+364+972= right?