login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A161136 Triangular array S(m,n), 1<=n<=m, giving the total number of tossed cards in the card game described in A161135. 3
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, 355, 553, 554, 8, 15, 154, 500, 982, 1264, 1823, 1824, 9, 34, 81, 661, 1667, 2804, 466, 2291, 2292, 10, 99, 99, 168, 1055, 2284, 2624, 4923, 7217, 7218, 11, 32, 606, 2069 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Formatted as a triangular array:
m=1: 1
m=2: 2, 3
m=3: 3, 8, 9
m=4: 4, 7, 17, 18
m=5: 5, 17, 57, 79, 80
m=6: 6, 35, 25, 113, 195, 196
m=7: 7, 48, 165, 326, 355, 553, 554
m=8: 8, 15, 154, 500, 982, 1264, 1823, 1824
m=9: 9, 34, 81, 661, 1667, 2804, 466, 2291, 2292
m=10: 10, 99, 99, 168, 1055, 2284, 2624, 4923, 7217, 7218
m=11: 11, 32, 606, 2069, 4988, 9133, 22910, 4871, 38298, 45521, 45522
m=12: 12, 70, 215, 782, 3170, 9850, 39347, 40076, 147279, 242603, 288134, 288135
LINKS
FORMULA
S(m,m)=S(m,m-1)+1
PROG
(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 }
CROSSREFS
A161135 (the number of deals)
Sequence in context: A326549 A326688 A011155 * A258163 A108381 A238761
KEYWORD
nonn,tabf
AUTHOR
Max Alekseyev, Jun 02 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)