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.

A051633 a(n) = 5*2^n - 2.

Original entry on oeis.org

3, 8, 18, 38, 78, 158, 318, 638, 1278, 2558, 5118, 10238, 20478, 40958, 81918, 163838, 327678, 655358, 1310718, 2621438, 5242878, 10485758, 20971518, 41943038, 83886078, 167772158, 335544318, 671088638, 1342177278, 2684354558, 5368709118, 10737418238, 21474836478
Offset: 0

Views

Author

Keywords

Examples

			a(5) = 5*2^4 - 2 = 80 - 2 = 78.
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{3, -2},{3, 8},30] (* Ray Chandler, Jul 18 2020 *)

Formula

a(n) = A118654(n, 5).
a(n) = A000079(n)*5 - 2 = A020714(n) - 2. - Omar E. Pol, Dec 23 2008
a(n) = 2*(a(n-1)+1) with a(0)=3. - Vincenzo Librandi, Aug 06 2010
a(n) = A123208(2*n+1) = A048487(n)+2 = A131051(n+2) = A153894(n)-1. - Philippe Deléham, Apr 15 2013
G.f.: ( 3-x ) / ( (2*x-1)*(x-1) ). - R. J. Mathar, Mar 23 2023
E.g.f.: exp(x)*(5*exp(x) - 2). - Stefano Spezia, Oct 03 2023