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!)
A204257 Matrix given by f(i,j)=1+[(i+2j) mod 3], by antidiagonals. 2

%I #7 Mar 30 2012 18:58:08

%S 1,3,2,2,1,3,1,3,2,1,3,2,1,3,2,2,1,3,2,1,3,1,3,2,1,3,2,1,3,2,1,3,2,1,

%T 3,2,2,1,3,2,1,3,2,1,3,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,2,1,

%U 3,2,1,3,2,1,3,2,1,3,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2

%N Matrix given by f(i,j)=1+[(i+2j) mod 3], by antidiagonals.

%e Northwest corner:

%e 1 3 2 1 3 2 1 3

%e 2 1 3 2 1 3 2 1

%e 3 2 1 3 2 1 3 2

%e 1 3 2 1 3 2 1 3

%e 2 1 3 2 1 3 2 1

%e 3 2 1 3 2 1 3 2

%t f[i_, j_] := 1 + Mod[i + 2 j, 3];

%t m[n_] := Table[f[i, j], {i, 1, n}, {j, 1, n}]

%t TableForm[m[8]] (* 8x8 principal submatrix *)

%t Flatten[Table[f[i, n + 1 - i],

%t {n, 1, 12}, {i, 1, n}]] (* A204257 *)

%t Permanent[m_] :=

%t With[{a = Array[x, Length[m]]},

%t Coefficient[Times @@ (m.a), Times @@ a]];

%t Table[Permanent[m[n]], {n, 1, 20}] (* A204258 *)

%Y Cf. A204258.

%K nonn,tabl

%O 1,2

%A _Clark Kimberling_, Jan 14 2012

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 September 8 22:43 EDT 2024. Contains 375759 sequences. (Running on oeis4.)