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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A180158 Number of ways are there to score a break of n points at snooker. Assuming an infinite number of reds are available, along with the usual six colors, and a break alternates red-color-red-... 2
 1, 1, 0, 1, 2, 2, 3, 5, 7, 9, 13, 20, 28, 39, 57, 82, 116, 166, 239, 342, 488, 699, 1002, 1433, 2050, 2936, 4203, 6014, 8608, 12323, 17638, 25244, 36134, 51722, 74030, 105961, 151669, 217091, 310729, 444760, 636607, 911202, 1304240, 1866817, 2672058, 3824629 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,5 COMMENTS Equivalently, a(n) is the number of compositions of n with odd-indexed parts being 1 and even-indexed parts being between 2 and 7. - Andrew Howroyd, Jan 14 2020 LINKS Andrew Howroyd, Table of n, a(n) for n = 0..1000 Index entries for linear recurrences with constant coefficients, signature (0,0,1,1,1,1,1,1). FORMULA a(n) = a(n-3) + a(n-4) + a(n-5) + a(n-6) + a(n-7) + a(n-8) for n >= 8. G.f.: (1 + x)/(1 - x^3 - x^4 - x^5 - x^6 - x^7 - x^8). - Andrew Howroyd, Jan 14 2020 EXAMPLE For n=0 there is one way to score zero points - pot nothing, potting a single red is the one way to have a break of one, a break of two is impossible (as defined here), a break of three can only be achieved with a red followed by a yellow, ... PROG (PARI) Vec((1 + x)/(1 - x^3 - x^4 - x^5 - x^6 - x^7 - x^8) + O(x^50)) \\ Andrew Howroyd, Jan 14 2020 CROSSREFS Sequence in context: A077075 A369570 A190660 * A373014 A320689 A173693 Adjacent sequences: A180155 A180156 A180157 * A180159 A180160 A180161 KEYWORD nonn,easy AUTHOR Rob Cummings (robc(AT)rocoto.demon.co.uk), Aug 14 2010 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.

Last modified September 16 04:06 EDT 2024. Contains 375959 sequences. (Running on oeis4.)