OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,2).
FORMULA
a(n)=5a(n-1)-10a(n-2)+10a(n-3)-5a(n-4)+2a(n-5). - R. J. Mathar, Mar 06 2008
G.f.:-(x^2-x+1)*(x-1)^2/((2*x-1)*(x^4-2*x^3+4*x^2-3*x+1)). - Maksym Voznyy (voznyy(AT)mail.ru), Aug 12 2009
EXAMPLE
The sequence and first, 2nd, etc. difference are
1..2..4..7..11..17..29...58..129..292..639.1333..2666
..1..2..3..4...6..12..29...71......
....1..1..1..2...6...17.42......
......0..0..1..4...11..25.....
........0..1..3...7..14.....
..........1..2..4...7.........<= original series 5 rows above reappears
.......... the leading edge of the difference triangle is 5-periodic 1,1,1,0,0.
MAPLE
MATHEMATICA
LinearRecurrence[{5, -10, 10, -5, 2}, {1, 2, 4, 7, 11}, 40] (* Harvey P. Dale, Oct 08 2012 *)
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Paul Curtz, Jun 06 2007, Jun 20 2007
EXTENSIONS
Edited by R. J. Mathar, Mar 06 2008
STATUS
approved
