OFFSET
1,2
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..11476 (Rows 1 <= n <= 150).
EXAMPLE
The triangle starts like this:
1;
2, 1;
6, 5, 4;
25, 24, 23, 19;
The sum of all of these terms is 110. Adding 110 to each term of the 4th row, we get: 25+110=135, 24+110=134, 23+110=133, 19+110=129, 0+110=110. So row 5 is 135,134,133,129,110.
MAPLE
A159927 := proc(n, m) option remember; local rs; if n = 1 then 1; else rs := add(add( procname(i, j), j=1..i), i=1..n-1) ; if n = m then rs; else procname(n-1, m)+rs; fi; fi; end: for n from 1 to 10 do for m from 1 to n do printf("%d, ", A159927(n, m)) ; od: od: # R. J. Mathar, Apr 28 2009
MATHEMATICA
NestList[{#1 + #2, #2} & @@ {Join[#1, {0}], Total[#1] + #2} & @@ # &, {{1}, 0}, 8][[All, 1]] // Flatten (* Michael De Vlieger, Aug 30 2017 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Leroy Quet, Apr 26 2009
EXTENSIONS
More terms from R. J. Mathar, Apr 28 2009
STATUS
approved