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!)
A370391 Expansion of (1 - 2*x)/(1 - 9*x + 28*x^2 - 35*x^3 + 15*x^4 - x^5). 1
1, 7, 35, 154, 636, 2533, 9861, 37810, 143451, 540155, 2022735, 7543771, 28048829, 104050724, 385320419, 1425038684, 5264963100, 19437087382, 71715418017, 264483764116, 975070823122, 3593840295815, 13243217176106, 48793364067681, 179753027448972 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
The sequence is constructed by a truncated version of Pascal's Triangle.
1
1 1
1 2 1
1 3 3 1
1 4 6 4
1 5 10 10 4
1 6 15 20 14
7 21 35 34 14
7 28 56 69 48
35 84 125 117 48
35 119 209 242 165
...
After truncation the sequence appears as the left vertical column. The right column sequence can be in A370051.
a(n) arises from the Gambler's Ruin problem and represents the number of ways a gambler is ruined after starting with $7 with a maximum $11 causing retirement.
LINKS
FORMULA
a(n) = 9*a(n-1) - 28*a(n-2) + 35*a(n-3) - 15*a(n-4) + a(n-5).
MATHEMATICA
LinearRecurrence[{9, -28, 35, -15, 1}, {1, 7, 35, 154, 636}, 25] (* James C. McMahon, Mar 12 2024 *)
CROSSREFS
Sequence in context: A094825 A022635 A336602 * A217274 A000588 A005285
KEYWORD
nonn,easy
AUTHOR
Peter Morris, Feb 22 2024
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 May 6 16:20 EDT 2024. Contains 372296 sequences. (Running on oeis4.)