OFFSET
1,3
FORMULA
From R. J. Mathar, Jul 10 2009: (Start)
a(n) = n*(1 + 2*n - n^2)/2 = n - A002411(n-1).
G.f.: x*(1 - 3*x - x^2)/(1-x)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). (End)
EXAMPLE
E.g., the row corresponding to 4 contains 4, (3+2),{(1) +(0)+(-1)}, {(-2)+(-3)+(-4)+(-5)} ----> 4,5,0,-14
1
2 1
3 3 -3
4 5 0 -14
5 7 3 -10 -35
6 9 6 -6 -30 -69
...
Sequence contains the leading diagonal.
PROG
(PLT DrScheme)
(first (reverse (A110425 n))
;; see A110425 for definition of that function.
-- Joshua Zucker, May 10 2006
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Amarnath Murthy, Aug 01 2005
EXTENSIONS
More terms from Joshua Zucker, May 10 2006
STATUS
approved