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.

A198276 a(n) = 19*2^n-1.

Original entry on oeis.org

18, 37, 75, 151, 303, 607, 1215, 2431, 4863, 9727, 19455, 38911, 77823, 155647, 311295, 622591, 1245183, 2490367, 4980735, 9961471, 19922943, 39845887, 79691775, 159383551, 318767103, 637534207, 1275068415, 2550136831, 5100273663, 10200547327, 20401094655
Offset: 0

Views

Author

Jeremy Gardiner, Oct 23 2011

Keywords

Examples

			a(2) = 19*2^2-1 = 75.
		

Crossrefs

Programs

  • BASIC
    for j = 0 to 30 : print str$((19*2^j)-1)+", "; : next j
    
  • Magma
    [19*2^n-1: n in [0..30]]; // Vincenzo Librandi, Oct 28 2011
  • Maple
    A198276:=n->19*2^n-1; seq(A198276(n), n=0..30); # Wesley Ivan Hurt, Jun 11 2014
  • Mathematica
    19*2^Range[0,30]-1 (* or *) LinearRecurrence[{3,-2},{18,37},40] (* Harvey P. Dale, Dec 18 2013 *)

Formula

a(n+1) = 2*a(n) + 1.
G.f.: ( 18-17*x ) / ( (2*x-1)*(x-1) ). - R. J. Mathar, Oct 25 2011
a(n) + a(n-1)^2 = (a(n-1)+1)^2. - Vincenzo Librandi, Jun 11 2014