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

 


A154805
Numbers with 4n binary digits where every run length is 4, written in binary.
3
1111, 11110000, 111100001111, 1111000011110000, 11110000111100001111, 111100001111000011110000, 1111000011110000111100001111, 11110000111100001111000011110000, 111100001111000011110000111100001111
OFFSET
1,1
COMMENTS
A154806 written in base 2.
FORMULA
From Colin Barker, Apr 20 2014: (Start)
a(n) = (-10001-9999*(-1)^n+2^(5+4*n)*625^(1+n))/180018.
a(n) = 10000*a(n-1)+a(n-2)-10000*a(n-3).
G.f.: 1111*x / ((x-1)*(x+1)*(10000*x-1)). (End)
EXAMPLE
n ... a(n) ................... A154806(n)
1 ... 1111 ................... 15
2 ... 11110000 ............... 240
3 ... 111100001111 ........... 3855
4 ... 1111000011110000 ....... 61680
5 ... 11110000111100001111 ... 986895
MATHEMATICA
CoefficientList[Series[1111/((x - 1) (x + 1) (10000 x - 1)), {x, 0, 10}], x] (* Vincenzo Librandi, Apr 22 2014 *)
LinearRecurrence[{10000, 1, -10000}, {1111, 11110000, 111100001111}, 20] (* Harvey P. Dale, Jul 31 2017 *)
PROG
(PARI) Vec(1111*x/((x-1)*(x+1)*(10000*x-1)) + O(x^100)) \\ Colin Barker, Apr 20 2014
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Omar E. Pol, Jan 25 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 20 14:50 EDT 2024. Contains 376072 sequences. (Running on oeis4.)