Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A144473
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A144473 A triangle sequence of determinants: a(n)=If[Mod[n, 3] == 0, 1, If[Mod[n, 3] == 1, -1, If[Mod[n, 3] == 2, 0]]]; b(n,m)=If[m < n && Mod[n, 3] == 0, 0, If[m < n && Mod[n, 3] == 1, 0, If[m < n && Mod[n, 3] == 2 && Mod[n, 2] == 0, 1, If[m < n && Mod[n, 3] == 2 && Mod[n, 2] == 1, -1, If[m == n, -1, 0]]]]]; M={{a(m), b(n, m)}, {a(n), b(n, n)}}; t(n,m)=Det[M]. +0
1
-1, -1, 1, -1, 1, 0, -1, 1, 0, -1, -1, 1, 0, -1, 1, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, -1, 1, 0, -1, 1, 0, -1, 1, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1 (list; graph; listen)
OFFSET

1,1

COMMENT

Row sums are:{-1, 0, 0, -1, 0, 0, -1, 0, 0, -1}.

FORMULA

a(n)=If[Mod[n, 3] == 0, 1, If[Mod[n, 3] == 1, -1, If[Mod[n, 3] == 2, 0]]]; b(n,m)=If[m < n && Mod[n, 3] == 0, 0, If[m < n && Mod[n, 3] == 1, 0, If[m < n && Mod[n, 3] == 2 && Mod[n, 2] == 0, 1, If[m < n && Mod[n, 3] == 2 && Mod[n, 2] == 1, -1, If[m == n, -1, 0]]]]]; M={{a(m), b(n, m)}, {a(n), b(n, n)}}; t(n,m)=Det[M].

EXAMPLE

{-1},

{-1, 1},

{-1, 1, 0},

{-1, 1, 0, -1},

{-1, 1, 0, -1, 1},

{-1, 1, 0, -1, 1, 0},

{-1, 1, 0, -1, 1, 0, -1},

{-1, 1, 0, -1, 1, 0, -1, 1},

{-1, 1, 0, -1, 1, 0, -1, 1, 0},

{-1, 1, 0, -1, 1, 0, -1, 1, 0, -1}

MATHEMATICA

Clear[a, b, t, n, m] a[n_] := If[Mod[n, 3] == 0, 1, If[Mod[n, 3] == 1, -1, If[Mod[n, 3] == 2, 0]]]; b[n, m_] := If[m < n && Mod[n, 3] == 0, 0, If[m < n && Mod[n, 3] == 1, 0, If[m < n && Mod[n, 3] == 2 && Mod[n, 2] == 0, 1, If[m < n && Mod[n, 3] == 2 && Mod[n, 2] == 1, -1, If[m == n, -1, 0]]]]]; M := {{a[m], b[n, m]}, {a[n], b[n, n]}}; t[n_, m_] := Det[M]; Table[Table[t[n, m], {m, 0, n - 1}], {n, 1, 10}]; Flatten[%]

CROSSREFS

Sequence in context: A140653 A118110 A131522 this_sequence A011750 A010055 A076699

Adjacent sequences: A144470 A144471 A144472 this_sequence A144474 A144475 A144476

KEYWORD

sign,uned

AUTHOR

Roger L. Bagula and Gary W. Adamson (rlbagulatftn(AT)yahoo.com), Oct 10 2008

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 November 25 14:49 EST 2009. Contains 167514 sequences.


AT&T Labs Research