Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A052899
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A052899 G.f.: (1-2*x)/(1-3*x-2*x^2+4*x^3) +0
2
1, 1, 5, 13, 45, 141, 461, 1485, 4813, 15565, 50381, 163021, 527565, 1707213, 5524685, 17878221, 57855181, 187223245, 605867213, 1960627405, 6344723661, 20531956941, 66442808525, 215013444813, 695798123725, 2251650026701 (list; graph; listen)
OFFSET

0,3

COMMENT

A simple regular expression.

LINKS

Index entries for sequences related to linear recurrences with constant coefficients

INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 875

FORMULA

Recurrence: {a(1)=1, a(0)=1, -4*a(n)-2*a(n+1)+a(n+2)+1}

Sum(-1/25*(-1-8*_alpha+4*_alpha^2)*_alpha^(-1-n), _alpha=RootOf(1-3*_Z-2*_Z^2+4*_Z^3))

a(n)/a(n-1) tends to (1 + sqrt(5)) = 3.236067... - Gary W. Adamson (qntmpkt(AT)yahoo.com), Mar 01 2008

MAPLE

spec := [S, {S=Sequence(Prod(Union(Sequence(Union(Z, Z)), Z, Z), Z))}, unlabeled]: seq(combstruct[count](spec, size=n), n=0..20);

PROGRAM

sage: from sage.combinat.sloane_functions import recur_gen2b sage: it = recur_gen2b(1, 1, 2, 4, lambda n:-1) sage: [it.next() for i in xrange(1, 28)] - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jul 09 2008

CROSSREFS

Sequence in context: A115785 A113835 A006349 this_sequence A147200 A147396 A099972

Adjacent sequences: A052896 A052897 A052898 this_sequence A052900 A052901 A052902

KEYWORD

easy,nonn

AUTHOR

encyclopedia(AT)pommard.inria.fr, Jan 25 2000

EXTENSIONS

More terms from James A. Sellers (sellersj(AT)math.psu.edu), Jun 08 2000

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research