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

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141025 (2^(2+n)-(-1)^n)/3-2*n. 1
1, 1, 1, 5, 13, 33, 73, 157, 325, 665, 1345, 2709, 5437, 10897, 21817, 43661, 87349, 174729, 349489, 699013, 1398061, 2796161, 5592361, 11184765, 22369573, 44739193, 89478433, 178956917, 357913885, 715827825, 1431655705, 2863311469, 5726622997, 11453246057, 22906492177 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index to sequences with linear recurrences with constant coefficients, signature (3,-1,-3,2)

FORMULA

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

a(n) = A001045(n+2)-2n.

a(n+1)-a(n) = 4*A000975(n-1).

a(n+1)-2a(n)= 2*(n-1)+(-1)^n = -1, -1, 3, 3, 7, 7, 11, 11,... duplicated A004767.

G.f. ( -1+2*x+x^2-6*x^3 ) / ( (1+x)*(2*x-1)*(x-1)^2 ). - R. J. Mathar, Jul 07 2011

PROG

(MAGMA) [(2^(2+n)-(-1)^n)/3-2*n: n in [0..40]]; // Vincenzo Librandi, Aug 08 2011

CROSSREFS

Sequence in context: A231799 A146924 A001981 * A100227 A185454 A183774

Adjacent sequences:  A141022 A141023 A141024 * A141026 A141027 A141028

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Jul 29 2008

EXTENSIONS

Definition replaced by closed form. - R. J. Mathar, Jul 07 2011

STATUS

approved

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

Content is available under The OEIS End-User License Agreement .

Last modified December 19 19:48 EST 2014. Contains 252239 sequences.