OFFSET
1,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..715
EXAMPLE
Triangle begins with:
1;
1 2;
3 2 1;
1 2 3 4;
5 4 3 2 1;
1 2 3 4 5 6;
MATHEMATICA
a[n_] := FromDigits[Join@@Table[IntegerDigits[If[OddQ[n+1-i], n+2-2i, i]], {i, 1, Ceiling[n/2]}]]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Feb 10 2003
STATUS
approved