login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097810 a(n) = 7*2^n - 3n - 6. 1
1, 5, 16, 41, 94, 203, 424, 869, 1762, 3551, 7132, 14297, 28630, 57299, 114640, 229325, 458698, 917447, 1834948, 3669953, 7339966, 14679995, 29360056, 58720181, 117440434, 234880943, 469761964, 939524009, 1879048102, 3758096291 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..29.

Index entries for linear recurrences with constant coefficients, signature (4,-5,2).

FORMULA

G.f.: (1 + x + x^2)/(((1-x)^2(1-2x)).

a(n) = 2a(n-1) + 3n, n>0, a(0)=1.

a(n) = 4a(n-1) - 5a(n-2) + 2a(n-3).

MATHEMATICA

s=1; lst={s}; Do[s+=(s+=n)+n++; AppendTo[lst, s], {n, 1, 5!, 1}]; lst (* Vladimir Joseph Stephan Orlovsky, Nov 15 2008 *)

Table[7*2^n-3n-6, {n, 0, 30}] (* or *) LinearRecurrence[{4, -5, 2}, {1, 5, 16}, 30] (* Harvey P. Dale, Nov 15 2011 *)

CROSSREFS

Cf. A079583, A097809.

Sequence in context: A014166 A014171 A014175 * A187004 A255135 A055796

Adjacent sequences:  A097807 A097808 A097809 * A097811 A097812 A097813

KEYWORD

easy,nonn

AUTHOR

Paul Barry, Aug 25 2004

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 20:16 EDT 2019. Contains 323426 sequences. (Running on oeis4.)