|
Search: id:A059779
|
|
|
| A059779 |
|
A Lucas triangle: T(m,n), m >= n >= 0. |
|
+0 1
|
|
| 2, 1, 1, 3, 2, 3, 4, 3, 3, 4, 7, 5, 6, 5, 7, 11, 8, 9, 9, 8, 11, 18, 13, 15, 14, 15, 13, 18, 29, 21, 24, 23, 23, 24, 21, 29, 47, 34, 39, 37, 38, 37, 39, 34, 47, 76, 55, 63, 60, 61, 61, 60, 63, 55, 76, 123, 89, 102, 97, 99, 98, 99, 97, 102, 89, 123, 199, 144, 165, 157, 160, 159
(list; table; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
REFERENCES
|
B. A. Bondarenko, Generalized Pascal Triangles and Pyramids (in Russian), FAN, Tashkent, 1990, ISBN 5-648-00738-8. English translation published by Fibonacci Association, Santa Clara Univ., Santa Clara, CA, 1993; see p. 28.
|
|
FORMULA
|
T(m, n) = T(m-1, n) + T(m-2, n); T(0, 0)=2, T(1, 0)=1, T(1, 1)=1, T(2, 1)=2.
|
|
EXAMPLE
|
2; 1,1; 3,2,3; 4,3,3,4; ...
|
|
MAPLE
|
T := proc(m, n) option remember: if m=0 and n=0 then RETURN(2) fi: if m=1 and n=0 then RETURN(1) fi: if m=1 and n=1 then RETURN(1) fi: if m=2 and n=1 then RETURN(2) fi: if m<=n+1 then RETURN(T(m, m-n)) fi: if m<n then RETURN(0) fi: T(m-1, n) + T(m-2, n): end:for m from 0 to 20 do for n from 0 to m do printf(`%d, `, T(m, n)) od: od:
|
|
CROSSREFS
|
Sequence in context: A060117 A112592 A070036 this_sequence A049346 A117334 A071872
Adjacent sequences: A059776 A059777 A059778 this_sequence A059780 A059781 A059782
|
|
KEYWORD
|
nonn,easy,tabl
|
|
AUTHOR
|
njas, Feb 22 2001
|
|
EXTENSIONS
|
More terms and Maple code from James A. Sellers (sellersj(AT)math.psu.edu), Feb 22 2001
|
|
|
Search completed in 0.002 seconds
|