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!)
A255813 Numbers of words on {0,1,2,3} having no isolated zeros. 1
1, 3, 10, 34, 115, 388, 1309, 4417, 14905, 50296, 169720, 572707, 1932556, 6521263, 22005505, 74255899, 250570870, 845532298, 2853184279, 9627852832, 32488455385, 109629815881, 369937455865, 1248325741972, 4212380047936 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
D. Birmajer, J. B. Gil, and M. D. Weiner, On the Enumeration of Restricted Words over a Finite Alphabet, J. Int. Seq. 19 (2016) # 16.1.3, Example 11.
FORMULA
a(n+3) = 4*a(n+2) - 3*a(n+1)+ 3*a(n) with n>=0, a(0) = 1, a(1) = 3, a(2) = 10.
G.f.: (-1 + x - x^2)/(-1 + 4*x - 3*x^2 + 3*x^3). - R. J. Mathar, Nov 07 2015
MATHEMATICA
RecurrenceTable[{a[0] == 1, a[1] == 3, a[2]== 10, a[n] == 4 a[n - 1] - 3 a[n - 2] + 3 a[n - 3]}, a[n], {n, 0, 25}]
LinearRecurrence[{4, -3, 3}, {1, 3, 10}, 100] (* G. C. Greubel, Jun 02 2016 *)
CROSSREFS
Sequence in context: A255631 A289601 A291337 * A113300 A332872 A007052
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 14:49 EDT 2024. Contains 371914 sequences. (Running on oeis4.)