OFFSET
1,3
FORMULA
a(2*n)+a(2*n+1)= 0, 21, 21, 273, 525, 3801,... (multiples of 21).
a(n)= +a(n-1) -a(n-2) +3*a(n-3) +6*a(n-4). G.f.: x*(1-2*x+21*x^3)/((1-2*x) * (1+x) * (3*x^2+1)). [R. J. Mathar, Nov 22 2009]
a(n)= (3*(-1)^n+2^n-A128019(n+1))/2. [R. J. Mathar, Nov 22 2009]
EXAMPLE
A141425 and its first, second, third differences etc. in followup rows define an array T(n,m):
..1...2...4...5...7...8...1...2...4...5...
..1...2...1...2...1..-7...1...2...1...2...
..1..-1...1..-1..-8...8...1..-1...1..-1...
.-2...2..-2..-7..16..-7..-2...2..-2..-7...
..4..-4..-5..23.-23...5...4..-4..-5..23...
.-8..-1..28.-46..28..-1..-8..-1..28.-46...
..7..29.-74..74.-29..-7...7..29.-74..74...
.22.-103.148.-103..22..14..22.-103.148.-103...
-125.251.-251.125..-8...8.-125.251.-251.125...
376.-502.376.-133..16.-133.376.-502.376.-133...
Then a(n) = T(n+1,n) .
CROSSREFS
KEYWORD
sign
AUTHOR
Paul Curtz, Aug 12 2008
EXTENSIONS
Edited and extended by R. J. Mathar, Nov 22 2009
STATUS
approved