Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A088455
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A088455 Triangle T(n,k) of number of integer sequences [y(1),...,y(n)] such that |y(i)-y(i+1)|<=1, 1=y(1)<=y(i)<=k=y(n). +0
1
1, 0, 1, 0, 1, 1, 0, 1, 2, 1, 0, 1, 4, 3, 1, 0, 1, 8, 8, 4, 1, 0, 1, 16, 20, 13, 5, 1, 0, 1, 32, 49, 38, 19, 6, 1, 0, 1, 64, 119, 106, 63, 26, 7, 1, 0, 1, 128, 288, 288, 195, 96, 34, 8, 1, 0, 1, 256, 696, 771, 579, 325, 138, 43, 9, 1, 0, 1, 512, 1681, 2046, 1675, 1042, 506, 190, 53 (list; table; graph; listen)
OFFSET

0,9

FORMULA

G.f. for column k: x^k/p(k) where p(0)=1, p(1)=1-x, p(n)=(1-x)p(n-1)-(x^2)p(n-2).

EXAMPLE

Rows from n=0: {1}; {0,1}; {0,1,1}; {0,1,2,1}; {0,1,4,3,1}; ...

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

PROGRAM

(PARI) T(n, k)=local(p0, p1, p2); if(k<0|k>n, 0, p1=1; for(i=1, k, p2=(1-x)*p1-x^2*p0; p0=p1; p1=p2); polcoeff(x^k/p1+x*O(x^n), n))

CROSSREFS

Sequence in context: A119328 A058716 A048723 this_sequence A004248 A034373 A102728

Adjacent sequences: A088452 A088453 A088454 this_sequence A088456 A088457 A088458

KEYWORD

nonn,tabl

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 November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research