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.

A304387 a(n) = 27*2^n - 5.

Original entry on oeis.org

22, 49, 103, 211, 427, 859, 1723, 3451, 6907, 13819, 27643, 55291, 110587, 221179, 442363, 884731, 1769467, 3538939, 7077883, 14155771, 28311547, 56623099, 113246203, 226492411, 452984827, 905969659, 1811939323, 3623878651, 7247757307, 14495514619, 28991029243, 57982058491
Offset: 0

Views

Author

Emeric Deutsch, May 13 2018

Keywords

Comments

For n>0, a(n) is the number of edges in the dendrimer nanostar NS1[n] defined pictorially in the Ashrafi et al. reference (Ns1[3] is shown in Fig. 1) or in the Ahmadi et al. reference (Fig. 1).

Crossrefs

Programs

  • GAP
    List([1..40],n->27*2^n-5); # Muniru A Asiru, May 13 2018
  • Maple
    seq(27*2^n-5, n = 0 .. 40);
  • Mathematica
    27*2^Range[0,40]-5 (* or *) LinearRecurrence[{3,-2},{22,49},40] (* Harvey P. Dale, Jan 12 2019 *)
  • PARI
    a(n) = 27*2^n - 5; \\ Altug Alkan, May 13 2018
    
  • PARI
    Vec((22 - 17*x) / ((1 - x)*(1 - 2*x)) + O(x^40)) \\ Colin Barker, May 18 2018
    

Formula

From Colin Barker, May 18 2018: (Start)
G.f.: (22 - 17*x) / ((1 - x)*(1 - 2*x)).
a(n) = 3*a(n-1) - 2*a(n-2) for n>1.
(End)

Extensions

Offset changed by N. J. A. Sloane, May 13 2018