cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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).

This page as a plain text file.
%I A165992 #2 Mar 30 2012 17:28:33
%S A165992 1,3,3,9,12,12,27,39,51,51,81,120,171,222,222,243,363,534,756,978,978,
%T A165992 729,1092,1626,2382,3360,4338,4338,2187,3279,4905,7287,10647,14985,
%U A165992 19323,19323,6561,9840,14745,22032,32679,47664,66987,86310,86310,19683
%N 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).
%o A165992 (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],", ")))
%Y A165992 A007854 (main diagonal)
%K A165992 nonn,tabl
%O A165992 0,2
%A A165992 _Gerald McGarvey_, Oct 03 2009