OFFSET
2,2
EXAMPLE
The triangle starts
1;
3, 1;
1, 4, 1;
5, 7, 5, 1;
3, 2, 9, 6, 1;
MAPLE
A191780 := proc(n, k) d := ListTools[Reverse](convert(n, base, k)) ; add( op(i, d)*k^(i-1), i=1..nops(d)) ;
end proc: # R. J. Mathar, Aug 26 2011
MATHEMATICA
G[n_, k_] := IntegerDigits[n, k] // Reverse // FromDigits[#, k]&; Table[ G[n, k], {n, 2, 15}, {k, 2, n}] // Flatten (* Jean-François Alcover, Feb 10 2018 *)
CROSSREFS
KEYWORD
AUTHOR
Juri-Stepan Gerasimov, Aug 02 2011
EXTENSIONS
Corrected by R. J. Mathar, Aug 26 2011
STATUS
approved