cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A097334 a(n) = Sum_{k=0..n} C(n-k, floor(k/2))*2^k.

Original entry on oeis.org

1, 3, 3, 7, 19, 31, 59, 135, 259, 495, 1035, 2071, 4051, 8191, 16475, 32679, 65443, 131343, 262059, 523831, 1049203, 2097439, 4192763, 8389575, 16779331, 33550383, 67108683, 134226007, 268427539, 536862271, 1073766299, 2147476455
Offset: 0

Views

Author

Paul Barry, Aug 05 2004

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Sum[Binomial[n-k,Floor[k/2]]2^k,{k,0,n}],{n,0,40}] (* or *) LinearRecurrence[{1,0,4},{1,3,3},40] (* Harvey P. Dale, May 17 2021 *)

Formula

G.f. : (1+2x)/((1-2*x)*(1+x+2*x^2)); a(n)=a(n-1)+4a(n-3).