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!)
A164495 Number of binary strings of length n with no substrings equal to 0010 0101 or 1011. 1
13, 22, 37, 62, 105, 178, 301, 508, 857, 1446, 2441, 4122, 6961, 11754, 19845, 33504, 56565, 95502, 161245, 272246, 459657, 776074, 1310301, 2212276, 3735153, 6306350, 10647505, 17977010, 30351969, 51245554, 86521797, 146081400, 246640477 (list; graph; refs; listen; history; text; internal format)
OFFSET
4,1
LINKS
FORMULA
G.f.: -x^4*(13-4*x+6*x^2+10*x^3+5*x^4+8*x^5) / ( -1+2*x-x^2+x^4+x^6 ). - R. J. Mathar, Jan 19 2011
a(4)=13, a(5)=22, a(6)=37, a(7)=62, a(8)=105, a(9)=178, a(n)=2*a(n-1)- a(n-2)+ a(n-4)+a(n-6). - Harvey P. Dale, Mar 07 2015
MATHEMATICA
LinearRecurrence[{2, -1, 0, 1, 0, 1}, {13, 22, 37, 62, 105, 178}, 40] (* Harvey P. Dale, Mar 07 2015 *)
CROSSREFS
Sequence in context: A164435 A164425 A164501 * A164427 A164456 A164410
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Aug 14 2009
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 24 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)