|
| |
|
|
A048498
|
|
2^(n-1)*(5n-8)+5.
|
|
1
| |
|
|
1, 2, 9, 33, 101, 277, 709, 1733, 4101, 9477, 21509, 48133, 106501, 233477, 507909, 1097733, 2359301, 5046277, 10747909, 22806533, 48234501, 101711877, 213909509, 448790533, 939524101, 1962934277, 4093640709, 8522825733
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
LINKS
| Nathaniel Johnston, Table of n, a(n) for n = 0..1000
Index to sequences with linear recurrences with constant coefficients, signature (5,-8,4).
|
|
|
FORMULA
| a(0)=1, a(1)=2, a(2)=9, a(n)=5*a(n-1)-8*a(n-2)+4*a(n-3) [From Harvey P. Dale, Jun 14 2011]
G.f.: (-1+3*x-7*x^2)/((-1+x)(-1+2*x)^2) [From Harvey P. Dale, Jun 14 2011]
|
|
|
MAPLE
| seq(2^(n-1)*(5*n-8)+5, n=0..27); # Nathaniel Johnston, Jun 14 2011
|
|
|
MATHEMATICA
| Table[2^(n-1) (5n-8)+5, {n, 0, 35}] (* or *) LinearRecurrence[{5, -8, 4}, {1, 2, 9}, 35] (* From Harvey P. Dale, June 14 2011 *)
|
|
|
PROG
| (PARI) a(n)= (5*n-8)<<(n-1)+5 \\ Charles R Greathouse IV, Jun 14 2011
|
|
|
CROSSREFS
| a(n)=T(4, n), array T given by A048494.
Sequence in context: A123142 A122097 A073400 * A202206 A150921 A150922
Adjacent sequences: A048495 A048496 A048497 * A048499 A048500 A048501
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| Clark Kimberling (ck6(AT)evansville.edu)
|
|
|
EXTENSIONS
| Formula from Ralf Stephan (ralf(AT)ark.in-berlin.de), Jan 15 2004
|
| |
|
|