The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A280293 a(0) = 3, a(n+1) = 2*a(n) + periodic sequence of length 2: repeat [-5, 4]. 1
 3, 1, 6, 7, 18, 31, 66, 127, 258, 511, 1026, 2047, 4098, 8191, 16386, 32767, 65538, 131071, 262146, 524287, 1048578, 2097151, 4194306, 8388607, 16777218, 33554431, 67108866, 134217727, 268435458, 536870911, 1073741826, 2147483647, 4294967298, 8589934591 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS From 1, the last digit is a periodic sequence of length 4:repeat [1, 6, 7, 8]. LINKS Colin Barker, Table of n, a(n) for n = 0..1000 Index entries for linear recurrences with constant coefficients, signature (2,1,-2). FORMULA a(2n) = 4^n + 2. a(2n+1) = 2*4^n - 1. a(n) = 2*a(n-1) + a(n-2) - 2*a(n-3), n>2. a(n) = 2^n + periodic sequence of length 2: repeat [2, -1]. a(n) = 2^(n+2) - A280173(n). a(n+2) = a(n) + 3*2^n, a(0) = 3, a(1) = 1. G.f.: (3-5*x+x^2) / ((1-x)*(1+x)*(1-2*x)). - Colin Barker, Dec 31 2016 PROG (PARI) Vec((3-5*x+x^2) / ((1-x)*(1+x)*(1-2*x)) + O(x^40)) \\ Colin Barker, Dec 31 2016 CROSSREFS Cf. A007283, A083420, A178789, A280173. Sequence in context: A210749 A330587 A199662 * A226483 A103407 A306938 Adjacent sequences:  A280290 A280291 A280292 * A280294 A280295 A280296 KEYWORD nonn,easy AUTHOR Paul Curtz, Dec 31 2016 EXTENSIONS More terms from Colin Barker, Dec 31 2016 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.

Last modified September 28 11:24 EDT 2020. Contains 337393 sequences. (Running on oeis4.)