(i) A 4-row pyramid with bottom row a,b,c,d has top a+3b+3c+d (rows a+b,b+c,c+d, then a+2b+c,b+2c+d). So the top is
n+3(n+1)+3(n+2)+(n+3)=8n+12
8n+12=4(2n+3)
So the top is always 4 times a whole number. But 2n+3 is always odd (even + odd), so the top is 4 times an odd number, which is never a multiple of 8.
(ii) 104 is a multiple of 8 (8×13), so it is not possible. (Directly: 8n+12=104 gives n=11.5, not a whole number.)
For 100: 8n+12=100 gives 8n=88 and n=11. The bottom row is 11, 12, 13, 14. Check: 23,25,27; then 48,52; top 100.