A154808 Numbers such that every run length in base 2 is 5.
31, 992, 31775, 1016800, 32537631, 1041204192, 33318534175, 1066193093600, 34118178995231, 1091781727847392, 34937015291116575, 1117984489315730400, 35775503658103372831, 1144816117059307930592, 36634115745897853778975
Offset: 1
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..664
- Index entries for linear recurrences with constant coefficients, signature (32,1,-32).
Programs
-
Mathematica
FromDigits[#,2]&/@Table[PadRight[{},5n,{1,1,1,1,1,0,0,0,0,0}],{n,20}] (* or *) LinearRecurrence[{32,1,-32},{31,992,31775},20] (* Harvey P. Dale, May 08 2016 *)
Formula
Conjecture: a(n) = (-33-31*(-1)^n+2^(6+5*n))/66. g.f.: 31*x / ((x-1)*(x+1)*(32*x-1)). - Colin Barker, Sep 16 2013
Extensions
More terms from Sean A. Irvine, Feb 21 2010
Comments