[go: up one dir, main page]

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!)
A054420 Number of connectable 3 X n binary matrices. 2
1, 3, 13, 87, 585, 3899, 25973, 173039, 1152849, 7680691, 51171485, 340922567, 2271346969, 15132518507, 100818201477, 671686589663, 4475014115745, 29814130048611, 198632300941357, 1323358787022391, 8816685256575721 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
A connected (0,1) matrix is one where you can get from any black square, i.e., a1, to any other by chess king moves. A matrix is connectable if it is not connected, has rightmost column [1,0,1]' and becomes connected when any of [1,1,1]', [1,1,0]', [0,1,1]' or [0,1,0]' is appended.
REFERENCES
R. Levy and J. Shapiro, Uniqueness in paint-by-numbers puzzles, preprint, 2000.
LINKS
FORMULA
a(n) = 7*a(n-1) - 3*a(n-2) + 5*a(n-3).
G.f.: x*(1+x)*(1-5*x)/(1 - 7*x + 3*x^2 - 5*x^3). - Colin Barker, Mar 08 2012
MATHEMATICA
CoefficientList[Series[(1+x)*(1-5*x)/(1-7*x+3*x^2-5*x^3), {x, 0, 30}], x] (* Vincenzo Librandi, Apr 28 2012 *)
PROG
(Magma) I:=[1, 3, 13]; [n le 3 select I[n] else 7*Self(n-1)-3*Self(n-2)+5*Self(n-3): n in [1..25]]; // Vincenzo Librandi, Apr 28 2012
CROSSREFS
Cf. A054417-A054421. A054420(n) = A054421(n-1) + 2*A054418(n-1).
Sequence in context: A152112 A167810 A331646 * A363656 A300701 A174278
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 22 2000
EXTENSIONS
More terms from James A. Sellers, May 23 2000
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 August 30 04:38 EDT 2024. Contains 375526 sequences. (Running on oeis4.)