The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154251 Expansion of (1-x+7x^2)/((1-x)(1-2x)). 4
1, 2, 11, 29, 65, 137, 281, 569, 1145, 2297, 4601, 9209, 18425, 36857, 73721, 147449, 294905, 589817, 1179641, 2359289, 4718585, 9437177, 18874361, 37748729, 75497465, 150994937, 301989881, 603979769, 1207959545, 2415919097 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Binomial transform of 1,1,8,1,8,1,8,1,8,1,8,1,8,1,8,...
LINKS
FORMULA
a(n) = 3*a(n-1) - 2*a(n-2), n>2, with a(0)=1, a(1)=2, a(2)=11.
a(n) = 9*2^(n-1) - 7, n>0, with a(0)=1.
a(n) = 2*a(n-1) + 7, n>1, with a(0)=1, a(1)=2.
From G. C. Greubel, Sep 08 2016: (Start)
a(n) = 9*2^(n-1) - 7 for n >= 1.
E.g.f.: (1/2)*(9*exp(2*x) - 14*exp(x) + 7). (End)
MATHEMATICA
Join[{1}, LinearRecurrence[{3, -2}, {2, 11}, 25]] (* or *) Join[{1}, Table[9*2^(n-1) - 7, {n, 1, 25}]] (* G. C. Greubel, Sep 08 2016 *)
PROG
(PARI) Vec((1-x+7*x^2)/((1-x)*(1-2*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
Sequence in context: A117560 A024178 A009312 * A092275 A295841 A086252
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Jan 05 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 13 21:51 EDT 2024. Contains 372523 sequences. (Running on oeis4.)