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.

A161136 Triangular array S(m,n), 1<=n<=m, giving the total number of tossed cards in the card game described in A161135.

This page as a plain text file.
%I A161136 #2 Mar 30 2012 17:27:02
%S A161136 1,2,3,3,8,9,4,7,17,18,5,17,57,79,80,6,35,25,113,195,196,7,48,165,326,
%T A161136 355,553,554,8,15,154,500,982,1264,1823,1824,9,34,81,661,1667,2804,
%U A161136 466,2291,2292,10,99,99,168,1055,2284,2624,4923,7217,7218,11,32,606,2069
%N A161136 Triangular array S(m,n), 1<=n<=m, giving the total number of tossed cards in the card game described in A161135.
%C A161136 Formatted as a triangular array:
%C A161136 m=1: 1
%C A161136 m=2: 2, 3
%C A161136 m=3: 3, 8, 9
%C A161136 m=4: 4, 7, 17, 18
%C A161136 m=5: 5, 17, 57, 79, 80
%C A161136 m=6: 6, 35, 25, 113, 195, 196
%C A161136 m=7: 7, 48, 165, 326, 355, 553, 554
%C A161136 m=8: 8, 15, 154, 500, 982, 1264, 1823, 1824
%C A161136 m=9: 9, 34, 81, 661, 1667, 2804, 466, 2291, 2292
%C A161136 m=10: 10, 99, 99, 168, 1055, 2284, 2624, 4923, 7217, 7218
%C A161136 m=11: 11, 32, 606, 2069, 4988, 9133, 22910, 4871, 38298, 45521, 45522
%C A161136 m=12: 12, 70, 215, 782, 3170, 9850, 39347, 40076, 147279, 242603, 288134, 288135
%F A161136 S(m,m)=S(m,m-1)+1
%o A161136 (PARI) { T(m,n) = local(v,r,k,t); v=vector(n); v[1]=m; r=0; k=1; until( vecmax(v)==m, t=v[k]; r+=t; v[k]=0; k=0; while(t, k++; if(k>n, k=1); v[k]++; t--) ); r }
%Y A161136 A161135 (the number of deals)
%K A161136 nonn,tabf
%O A161136 1,2
%A A161136 _Max Alekseyev_, Jun 02 2009