I'd like to create some pyramid that looks like this,
The numbers/cells are easy to do
Grid[NestWhileList[ Table[#[[i]] + #[[i + 1]], {i, 1, Length[#] - 1}] &, {1, 22, 5, 7}, Length[#] > 1 &] // Reverse, Frame -> All]
Grid[NestWhileList[ Table[#[[i]] + #[[i + 1]], {i, 1, Length[#] - 1}] &, {a, b, c, d}, Length[#] > 1 &] // Reverse, Frame -> All]
But then the output is not quite there yet. Easily achievable?



Column[Grid[{#}, ItemSize -> 3] & /@ (NestWhileList[ Table[#[[i]] + #[[i + 1]], {i, 1, Length[#] - 1}] &, {1, 22, 5, 7}, Length[#] > 1 &] // Reverse), Center, Frame -> All]– Chen Stats Yu Jun 25 '18 at 21:17