Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A001404
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A001404 Triangle of values of 2-d recurrence. +0
2
1, 1, 1, 2, 2, 1, 4, 5, 2, 1, 9, 11, 5, 2, 1, 20, 25, 12, 5, 2, 1, 45, 57, 27, 12, 5, 2, 1, 102, 129, 62, 28, 12, 5, 2, 1, 231, 293, 141, 64, 28, 12, 5, 2, 1, 524, 665, 321, 146, 28, 12, 5, 2, 1, 1189, 1510, 729, 333, 148, 65, 28, 12, 5, 2, 1, 2699, 3428, 1656 (list; table; graph; listen)
OFFSET

0,4

MAPLE

a[ 0, 0 ] := 1; for i from 1 to N do a[ i, 0 ] := a[ i-1, 0 ]+a[ i-1, 1 ]; for j from 1 to i do a[ i, j ] := sum(a[ i-j, t ], t=0..min(j+1, N)) od; od;

PROGRAM

(PARI) T(m, n)=if(m<n, 0, if(m==0&&n==0, 1, if(n==0, T(m-1, 0)+T(m-1, 1), sum(t=0, n+1, T(m-n, t))))) (from R. Stephan)

CROSSREFS

Cf. A001410.

Sequence in context: A136787 A165038 A145036 this_sequence A104580 A105306 A064189

Adjacent sequences: A001401 A001402 A001403 this_sequence A001405 A001406 A001407

KEYWORD

tabl,nonn,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com) [ I have temporarily mislaid the name of the person who sent this ]

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 24 14:25 EST 2009. Contains 167438 sequences.


AT&T Labs Research