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!)
A087463 Generalized multiplicative Jacobsthal sequence. 3
0, 1, 1, 0, 5, 11, 0, 43, 85, 0, 341, 683, 0, 2731, 5461, 0, 21845, 43691, 0, 174763, 349525, 0, 1398101, 2796203, 0, 11184811, 22369621, 0, 89478485, 178956971, 0, 715827883, 1431655765, 0, 5726623061, 11453246123, 0, 45812984491, 91625968981, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
Set A001045(3n)=0 in A001045.
2^n = A087462(n) + a(n) + A087464(n) provides a decomposition of Pascal's triangle.
LINKS
FORMULA
a(n) = Sum_{k=0..n} if (mod(n*k, 3)=1, 1, 0)*C(n, k).
a(n) = (2/9)*(1-cos(2*Pi*n/3))*(2^n-(-1)^n).
From Colin Barker, Nov 02 2015: (Start)
a(n) = 7*a(n-3)+8*a(n-6) for n>5.
G.f.: -x*(4*x^4-2*x^3+x+1) / ((x+1)*(2*x-1)*(x^2-x+1)*(4*x^2+2*x+1)).
(End)
PROG
(PARI) concat(0, Vec(-x*(4*x^4-2*x^3+x+1)/((x+1)*(2*x-1)*(x^2-x+1)*(4*x^2+2*x+1)) + O(x^100))) \\ Colin Barker, Nov 02 2015
CROSSREFS
Sequence in context: A213146 A309558 A346104 * A160366 A160923 A201457
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Sep 08 2003
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 28 02:01 EDT 2024. Contains 372020 sequences. (Running on oeis4.)