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-2 of 2 results.

A058967 If n < 8 then A058966(n), else n*2^(n - 3) - 2*n - 50.

Original entry on oeis.org

1, 2, 10, 30, 78, 190, 508, 1210, 2744, 6070, 13236, 28594, 61360, 130990, 278444, 589738, 1245096, 2621350, 5504932, 11534242, 24117152, 50331550, 104857500, 218103706, 452984728, 939523990, 1946156948, 4026531730, 8321499024
Offset: 3

Views

Author

N. J. A. Sloane, Jan 14 2001

Keywords

References

  • B. Elspas, The theory of multirail cascades, in A. Mukhopadhyay, ed., Recent Developments in Switching Theory, Ac. Press, 1971, Chap. 8, see esp. p. 362 (S_2(n)).

Programs

  • Mathematica
    Table[Which[n==3,1,n<8,n*2^(n-3)-2^(n-2)-2,True,n*2^(n-3)-2n-50],{n,3,40}] (* Harvey P. Dale, Mar 08 2018 *)

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

Original entry on oeis.org

1, 5, 15, 39, 95, 223, 511, 1151, 2559, 5631, 12287, 26623, 57343, 122879, 262143, 557055, 1179647, 2490367, 5242879, 11010047, 23068671, 48234495, 100663295, 209715199, 436207615, 905969663, 1879048191, 3892314111, 8053063679
Offset: 1

Views

Author

Ralf Stephan, Sep 28 2004

Keywords

Comments

Row sums of triangle A135852. - Gary W. Adamson, Dec 01 2007
Binomial transform of [1, 4, 6, 8, 10, 12, 14, 16, ...]. Equals A128064 * A000225, (A000225 starting 1, 3, 7, 15, ...). - Gary W. Adamson, Dec 28 2007

Crossrefs

First differences of A066524.

Programs

Formula

a(n) = A057711(n+1) - 1 = A058966(n+3)/2 = (A087323(n)-1)/2 = (A074494(n+1)-2)/3 = (A003261(n+1)-3)/4 = A036289(n+1)/4 - 1, n>0.
a(n) = A131056(n+1) - 2. - Juri-Stepan Gerasimov, Oct 02 2011
From Colin Barker, Mar 23 2012: (Start)
a(n) = 5*a(n-1) - 8*a(n-2) + 4*a(n-3).
G.f.: x*(1-2*x^2)/((1-x)*(1-2*x)^2). (End)
E.g.f.: ((2*x+1)*exp(2*x) - 2*exp(x) + 1)/2. - G. C. Greubel, Dec 31 2017
Showing 1-2 of 2 results.