For each integer $i=0,1,2, \dots$, there are eight balls each weighing $2^i$ grams. We may place balls as much as we desire into given $n$ boxes. If the total weight of balls in each box is same, what is the largest possible value of $n$?

$ 
\textbf{a)}\ 8
\qquad\textbf{b)}\ 10
\qquad\textbf{c)}\ 12
\qquad\textbf{d)}\ 15
\qquad\textbf{e)}\ 16
$
To solve this problem, we need to determine the largest possible number of boxes, \( n \), such that the total weight of balls in each box is the same. Each integer \( i = 0, 1, 2, \ldots \) corresponds to eight balls each weighing \( 2^i \) grams.

1. **Determine the total weight of all balls:**
   Each integer \( i \) has 8 balls weighing \( 2^i \) grams each. Therefore, the total weight for each \( i \) is:
   \[
   8 \times 2^i
   \]
   Summing this over all \( i \) gives the total weight of all balls:
   \[
   \sum_{i=0}^{\infty} 8 \times 2^i
   \]
   However, since we are dealing with a finite number of balls, we consider a large but finite number of terms. For simplicity, let's assume we have \( k \) different weights, then:
   \[
   \sum_{i=0}^{k} 8 \times 2^i = 8 \sum_{i=0}^{k} 2^i
   \]
   Using the formula for the sum of a geometric series:
   \[
   \sum_{i=0}^{k} 2^i = 2^{k+1} - 1
   \]
   Therefore, the total weight is:
   \[
   8 \times (2^{k+1} - 1) = 8 \times 2^{k+1} - 8
   \]

2. **Determine the weight per box:**
   Let \( N \) be the total weight of balls in each box. Since the total weight must be evenly distributed among \( n \) boxes, we have:
   \[
   N = \frac{8 \times 2^{k+1} - 8}{n}
   \]
   For \( N \) to be an integer, \( n \) must be a divisor of \( 8 \times 2^{k+1} - 8 \).

3. **Maximize the number of boxes \( n \):**
   To maximize \( n \), we need to consider the binary representation of \( N \). The binary representation of \( N \) can be decomposed into sums of powers of 2. The maximum number of boxes corresponds to the maximum number of unique sums of powers of 2 that can be formed.

   - For each power of 2, we have 8 balls.
   - We can distribute these balls into boxes such that each box has a unique combination of these weights.

   The maximum number of unique combinations of weights (each weight being a power of 2) is given by the sum of the series:
   \[
   2^0 + 2^1 + 2^2 + \cdots + 2^k
   \]
   This series sums to \( 2^{k+1} - 1 \).

4. **Calculate the maximum number of boxes:**
   Given that we have 8 balls for each power of 2, we can form:
   \[
   8 + 4 + 2 + 1 = 15
   \]
   This is because:
   - 8 boxes can use each power of 2 once.
   - 4 boxes can use each power of 2 twice.
   - 2 boxes can use each power of 2 four times.
   - 1 box can use each power of 2 eight times.

   Therefore, the largest possible value of \( n \) is:
   \[
   \boxed{15}
   \]