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!)
A134522 a(n) = 2^n + ceiling(n/2). 3
1, 3, 5, 10, 18, 35, 67, 132, 260, 517, 1029, 2054, 4102, 8199, 16391, 32776, 65544, 131081, 262153, 524298, 1048586, 2097163, 4194315, 8388620, 16777228, 33554445, 67108877, 134217742, 268435470, 536870927, 1073741839, 2147483664, 4294967312, 8589934609 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
From Andrew Howroyd, Aug 10 2018: (Start)
a(n) = A000079(n) + A110654(n).
a(n) = 3*a(n-1) - a(n-2) - 3*a(n-3) + 2*a(n-4).
G.f.: (1 - 3*x^2 + x^3)/((1 - x)^2*(1 + x)*(1 - 2*x)).
(End)
a(n) = Sum_{k=1..n+1} C(n+1,k)^(k mod 2). - Wesley Ivan Hurt, Nov 20 2021
PROG
(PARI) a(n)=2^n + (n+1)\2; \\ Andrew Howroyd, Aug 10 2018
(PARI) Vec((1 - 3*x^2 + x^3)/((1 - x)^2*(1 + x)*(1 - 2*x)) + O(x^40)) \\ Andrew Howroyd, Aug 10 2018
CROSSREFS
Row sums of A134521.
Sequence in context: A154949 A318248 A107232 * A001445 A192860 A125750
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Oct 29 2007
EXTENSIONS
Name changed, a(8) inserted and a(14)-a(33) from Andrew Howroyd, Aug 10 2018
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 April 23 08:19 EDT 2024. Contains 371905 sequences. (Running on oeis4.)