The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A204259 Matrix given by f(i,j) = 1 + [(2i+j) mod 3], by antidiagonals. 3
1, 2, 3, 3, 1, 2, 1, 2, 3, 1, 2, 3, 1, 2, 3, 3, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 3, 1, 2, 3, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This data is used to specify the height of hexagonally packed cylinders in a triangle with open boundaries. Three cylinders that touch each other define a "triple" and water can be retained between these cylinders. A257594, A258445 and A259052 give a classification for such spaces. The links below ignore the inter-cylinder space retention and only consider the water retention above solid cylinders. - Craig Knecht, Jul 16 2015
LINKS
EXAMPLE
Northwest corner:
1 2 3 1 2 3 1 2
3 1 2 3 1 2 3 1
2 3 1 2 3 1 2 3
1 2 3 1 2 3 1 2
3 1 2 3 1 2 3 1
2 3 1 2 3 1 2 3
MATHEMATICA
f[i_, j_] := 1 + Mod[2 i + j, 3];
m[n_] := Table[f[i, j], {i, 1, n}, {j, 1, n}]
TableForm[m[8]] (* 8x8 principal submatrix *)
Flatten[Table[f[i, n + 1 - i],
{n, 1, 12}, {i, 1, n}]] (* A204259 *)
Permanent[m_] :=
With[{a = Array[x, Length[m]]},
Coefficient[Times @@ (m.a), Times @@ a]];
Table[Permanent[m[n]], {n, 1, 20}] (* A204258 *)
CROSSREFS
Cf. A204260.
Sequence in context: A367619 A097663 A247565 * A371888 A066517 A108132
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Jan 14 2012
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 June 3 10:30 EDT 2024. Contains 373060 sequences. (Running on oeis4.)