Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078099
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078099 Array T(m,n) read by antidiagonals: T(m,n) = number of ways of 3-coloring an m X n grid (m >= 1, n >= 1). +0
5
1, 2, 2, 4, 6, 4, 8, 18, 18, 8, 16, 54, 82, 54, 16, 32, 162, 374, 374, 162, 32, 64, 486, 1706, 2604, 1706, 486, 64, 128, 1458, 7782, 18150, 18150, 7782, 1458, 128, 256, 4374, 35498, 126534, 193662, 126534, 35498, 4374, 256, 512, 13122, 161926, 882180 (list; table; graph; listen)
OFFSET

1,2

REFERENCES

Michael S. Paterson (Warwick), personal communication.

FORMULA

Let M[1] = [1], M[m+1] = [ M[m], M[m]' / 0, M[m] ], W[m] = M[m] + M[m]', then T(m, n) = sum of entries of W[m]^(n-1) (the prime denotes transpose).

EXAMPLE

Array begins

1 2 4 8 16 ...

2 6 18 54 162 ...

4 18 82 374 ...

...

MAPLE

with(linalg); t := transpose; M[1] := matrix(1, 1, [1]); Z[1] := matrix(1, 1, 0); W[1] := evalm(M[1]+t(M[1])); v[1] := matrix(1, 1, 1);

for n from 2 to 6 do t1 := stackmatrix(M[n-1], Z[n-1]); t2 := stackmatrix(t(M[n-1]), M[n-1]); M[n] := t(stackmatrix(t(t1), t(t2))); Z[n] := matrix(2^(n-1), 2^(n-1), 0); W[n] := evalm(M[n]+t(M[n])); v[n] := matrix(1, 2^(n-1), 1); od:

T := proc(m, n) evalm( v[m] &* W[m]^(n-1) &* t(v[m]) ); end;

CROSSREFS

Main diagonal is A068253. Other diagonals produce A078101 and A078102. 3rd and 4th rows produce A020698 and A078100.

Sequence in context: A096466 A088965 A059474 this_sequence A118960 A107797 A038759

Adjacent sequences: A078096 A078097 A078098 this_sequence A078100 A078101 A078102

KEYWORD

nonn,tabl

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Dec 05 2002

EXTENSIONS

More terms from Alois P. Heinz (heinz(AT)hs-heilbronn.de), Mar 23 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research