Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A088456
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A088456 Number of integer sequences [y(1),...,y(n)] such that |y(i)-y(i+1)|<=1, 1=y(1)<=y(i)<=y(n). +0
1
1, 1, 2, 4, 9, 22, 56, 146, 387, 1039, 2819, 7717, 21287, 59105, 165038, 463089, 1304945, 3690970, 10474213, 29811119, 85070660, 243340754, 697571153, 2003636629, 5765473829, 16617825248, 47971281916, 138677926537 (list; graph; listen)
OFFSET

0,3

EXAMPLE

[1,1,1],[1,1,2],[1,2,2],[1,2,3] are the a(3)=4 sequences.

PROGRAM

(PARI) a(n)=local(p0, p1, p2); if(n<0, 0, p1=1; polcoeff(sum(i=0, n, if(p2=(1-x)*p1-x^2*p0, p0=p1; p1=p2; x^i/p0), x*O(x^n)), n))

CROSSREFS

Adjacent sequences: A088453 A088454 A088455 this_sequence A088457 A088458 A088459

Sequence in context: A115324 A107092 A055588 this_sequence A091561 A025265 A037245

KEYWORD

nonn

AUTHOR

Michael Somos, Oct 01 2003

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 May 16 01:24 EDT 2008. Contains 139630 sequences.


AT&T Labs Research