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.

A256873 a(n) = 2^(n-1)*(2^n+5).

Original entry on oeis.org

3, 7, 18, 52, 168, 592, 2208, 8512, 33408, 132352, 526848, 2102272, 8398848, 33574912, 134258688, 536952832, 2147647488, 8590262272, 34360393728, 137440264192, 549758435328, 2199028498432, 8796103507968, 35184393060352, 140737530298368, 562950037307392
Offset: 0

Views

Author

M. F. Hasler, Apr 24 2015

Keywords

Comments

For k in A059242, a(k) is in A141548, i.e., A256873 o A059242 is a subsequence of A141548.

Programs

  • Magma
    [2^(n-1)*(2^n+5): n in [0..30]]; // Vincenzo Librandi, Apr 24 2015
    
  • Mathematica
    Table[2^(n - 1) (2^n + 5), {n, 0, 30}] (* Vincenzo Librandi, Apr 24 2015 *)
    LinearRecurrence[{6,-8},{3,7},30] (* Harvey P. Dale, Aug 21 2020 *)
  • PARI
    A256873(n)=2^(n-1)*(2^n+5)
    
  • PARI
    Vec((3-11*x)/((1-4*x)*(1-2*x)) + O(x^100)) \\ Colin Barker, Apr 26 2015

Formula

G.f.: (3-11*x)/((1-4*x)*(1-2*x)). - Vincenzo Librandi, Apr 24 2015
a(n) = 6*a(n-1)-8*a(n-2). - Colin Barker, Apr 26 2015