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.

A185346 a(n) = 2^n - 9.

Original entry on oeis.org

-8, -7, -5, -1, 7, 23, 55, 119, 247, 503, 1015, 2039, 4087, 8183, 16375, 32759, 65527, 131063, 262135, 524279, 1048567, 2097143, 4194295, 8388599, 16777207, 33554423, 67108855, 134217719, 268435447, 536870903, 1073741815, 2147483639, 4294967287, 8589934583
Offset: 0

Views

Author

Andreas Rieber, Dec 04 2012

Keywords

Crossrefs

Cf. A000225, A036563, A172252 (essentially the same).

Programs

Formula

G.f.: ( -8+17*x ) / ( (2*x-1)*(x-1) ). - R. J. Mathar, Dec 17 2012
E.g.f.: exp(2*x) - 9*exp(x). - G. C. Greubel, Jun 28 2017
From Elmo R. Oliveira, Nov 08 2023: (Start)
a(n) = 2*a(n-1) + 9 with a(0) = -8.
a(n) = 3*a(n-1) - 2*a(n-2) for n > 1. (End)