Let the weekly coin collection for A be $3x$ and for B be $4x$.
Given:
For $15x$ to be divisible by 7, $x$ must be a multiple of 7. Let $x = 7k$, where $k$ is a positive integer.
Substitute $x = 7k$ into the second condition:
$12x = 12 \times 7k = 84k$
For $84k$ to be a multiple of 24, $k$ must be selected to satisfy this.
Testing values for $k$:
If $k = 1$, $84k = 84$. 84 is divisible by 12 but not by 24.
If $k = 2$, $84k = 168$. 168 is divisible by 24.
The smallest valid value for $k$ is 2, thus $x = 7 \times 2 = 14$.
Therefore, the coins collected by A in one week are $3x = 3 \times 14 = \mathbf{42}$.