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.

A084508 Partial sums of A084509. Positions of ones in the first differences of A084506.

Original entry on oeis.org

0, 1, 3, 9, 33, 129, 513, 2049, 8193, 32769, 131073, 524289, 2097153, 8388609, 33554433, 134217729, 536870913, 2147483649, 8589934593, 34359738369, 137438953473, 549755813889, 2199023255553, 8796093022209, 35184372088833
Offset: 0

Views

Author

Antti Karttunen, Jun 02 2003

Keywords

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{5,-4},{0,1,3,9},30] (* Harvey P. Dale, May 21 2021 *)

Formula

a(n) = n for n < 2, a(n) = 2^(2*n - 3) + 1 = A087289(n-2) for n >= 2. - Antti Karttunen, Oct 24 2012 [Corrected by Petros Hadjicostas, Aug 02 2020]
From Chai Wah Wu, Jan 28 2021: (Start)
a(n) = 5*a(n-1) - 4*a(n-2) for n > 3.
G.f.: x*(-2*x^2 - 2*x + 1)/((x - 1)*(4*x - 1)). (End)