login
A396154
a(n) is the number of possible outcomes having a run of 5 or more sixes when a die is rolled n times.
5
0, 0, 0, 0, 0, 1, 11, 96, 756, 5616, 40176, 279931, 1912811, 12876066, 85650696, 564264576, 3687717456, 23938890361, 154507689791, 992285228496, 6345103937976, 40418727227856, 256599474317136, 1624110448674691, 10251689936941271, 64551976895557626, 405560928053970756
OFFSET
0,7
FORMULA
G.f.: x^5/((6*x - 1)*(5*x^5 + 5*x^4 + 5*x^3 + 5*x^2 + 5*x - 1)).
a(n) = A396158(n,5).
MATHEMATICA
LinearRecurrence[{11, -25, -25, -25, -25, -30}, {0, 0, 0, 0, 0, 1}, 27] (* Amiram Eldar, May 20 2026 *)
PROG
(PARI) concat([0, 0, 0, 0, 0], Vec(x^5/((6*x-1)*(5*x^5+5*x^4+5*x^3+5*x^2+5*x-1)) + O(x^27)))
KEYWORD
nonn,easy
AUTHOR
A.H.M. Smeets, May 20 2026
STATUS
approved