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.

Showing 1-1 of 1 results.

A298417 a(n) = 2*a(n-1) + 2*a(n-2) + a([n/2]), where a(0) = 1, a(1) = 1, a(2) = 1.

Original entry on oeis.org

1, 1, 1, 5, 13, 37, 105, 289, 801, 2193, 6025, 16473, 45101, 123253, 336997, 920789, 2516373, 6875125, 18785189, 51322821, 140222045, 383095757, 1046652077, 2859512141, 7812373537, 21343816457, 58312503241, 159312762649, 435250868777, 1189127599849
Offset: 0

Views

Author

Clark Kimberling, Feb 11 2018

Keywords

Comments

a(n)/a(n-1) -> 1+sqrt(3).

Crossrefs

Programs

  • Mathematica
    a[0] = 1; a[1] = 1; a[2] = 1;
    a[n_] := a[n] = 2 a[n - 1] + 2 a[n - 2] + a[Floor[n/2]];
    Table[a[n], {n, 0, 30}]  (* A298417 *)
Showing 1-1 of 1 results.