login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165992 Triangle read by rows: T(n,0) = 3^n, T(n,k) = T(n,k-1) + T(n-1,k) for 0 < k < n, and T(n,n) = T(n,n-1). 0
1, 3, 3, 9, 12, 12, 27, 39, 51, 51, 81, 120, 171, 222, 222, 243, 363, 534, 756, 978, 978, 729, 1092, 1626, 2382, 3360, 4338, 4338, 2187, 3279, 4905, 7287, 10647, 14985, 19323, 19323, 6561, 9840, 14745, 22032, 32679, 47664, 66987, 86310, 86310, 19683 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..45.

PROG

(PARI) s=10; M=matrix(s, s); for(n=1, s, M[n, 1]=3^(n-1)); for(n=2, s, for(k=2, n, M[n, k]=M[n, k-1]+M[n-1, k])); for(n=1, 10, for(k=1, n, print1(M[n, k], ", ")))

CROSSREFS

A007854 (main diagonal)

Sequence in context: A146153 A339028 A173048 * A117153 A045810 A166720

Adjacent sequences:  A165989 A165990 A165991 * A165993 A165994 A165995

KEYWORD

nonn,tabl

AUTHOR

Gerald McGarvey, Oct 03 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 21 23:52 EDT 2021. Contains 343156 sequences. (Running on oeis4.)