login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A255821 Numbers of words on {0,1,...,36} having no isolated zeros. 1
1, 36, 1297, 46729, 1683577, 60656797, 2185374961, 78735837637, 2836736138665, 102203420474269, 3682238546710945, 132665625592223221, 4779746882367738841, 172207232713967895181, 6204372685172893559377, 223534399861459456068709 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

The number p_n = a(n)/37^n equals the probability that in n trials in single zero (European) Roulette zero will not appear isolated. For example, p_10 is approximately 0.021.

LINKS

Colin Barker, Table of n, a(n) for n = 0..642

Index entries for linear recurrences with constant coefficients, signature (37,-36,36).

FORMULA

G.f.: -(x^2 - x + 1)/(36*x^3 - 36*x^2 + 37*x - 1). - Colin Barker, Mar 09 2015

a(n) = 37*a(n-1) - 36*a(n-2) + 36*a(n-3). - G. C. Greubel, Jun 02 2016

MATHEMATICA

RecurrenceTable[{a[0] == 1, a[1] == 36,  a[2]== 1297, a[n] == 37 a[n - 1] - 36 a[n - 2] + 36 a[n - 3]}, a[n], {n, 0, 15}]

LinearRecurrence[{37, -36, 36}, {1, 36, 1297}, 100] (* G. C. Greubel, Jun 02 2016 *)

PROG

(PARI) Vec(-(x^2-x+1)/(36*x^3-36*x^2+37*x-1) + O(x^100)) \\ Colin Barker, Mar 09 2015

CROSSREFS

Cf. A255116, A255118, A254658, A254660, A255633, A255630.

Sequence in context: A300357 A009980 A041613 * A209042 A283729 A203333

Adjacent sequences:  A255818 A255819 A255820 * A255822 A255823 A255824

KEYWORD

nonn,easy

AUTHOR

Milan Janjic, Mar 07 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 28 06:55 EST 2020. Contains 332321 sequences. (Running on oeis4.)