= 1; $j--) $a[$j - 1] += $a[$j]; $n++; echo 'B('.str_pad($n, 2, " ", STR_PAD_LEFT).') = '. str_pad($a[0], 9, " ", STR_PAD_LEFT).PHP_EOL; } ?>