Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A143187
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A143187 A symmetrical triangle sequence with low, even center: t(n,m)=If[(n - m)*m == 0, 1, If[m <= Floor[n/2] && Mod[m, 2] == 1, 2*m, If[m <= Floor[n/2] && Mod[m, 2] == 0, m, If[m > Floor[n/2] && Mod[n - m, 2] == 1, 2*(n - m), If[m > Floor[n/2] && Mod[n - m, 2] == 0, (n - m), n - m]]]]]. +0
1
1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 2, 6, 2, 2, 1, 1, 2, 2, 6, 6, 2, 2, 1, 1, 2, 2, 6, 4, 6, 2, 2, 1, 1, 2, 2, 6, 4, 4, 6, 2, 2, 1, 1, 2, 2, 6, 4, 10, 4, 6, 2, 2, 1 (list; graph; listen)
OFFSET

1,5

COMMENT

Row sums are:

{1, 2, 4, 6, 8, 10, 16, 22, 26, 30, 40}.

There are two design feature here:

1) modulo 2 hollow center

2) very low row sum.

FORMULA

t(n,m)=If[(n - m)*m == 0, 1, If[m <= Floor[n/2] && Mod[m, 2] == 1, 2*m, If[m <= Floor[n/2] && Mod[m, 2] == 0, m, If[m > Floor[n/2] && Mod[n - m, 2] == 1, 2*(n - m), If[m > Floor[n/2] && Mod[n - m, 2] == 0, (n - m), n - m]]]]].

EXAMPLE

{1},

{1, 1},

{1, 2, 1},

{1, 2, 2, 1},

{1, 2, 2, 2, 1},

{1, 2, 2, 2, 2, 1},

{1, 2, 2, 6, 2, 2, 1},

{1, 2, 2, 6, 6, 2, 2, 1},

{1, 2, 2, 6, 4, 6, 2, 2, 1},

{1, 2, 2, 6, 4, 4, 6, 2, 2, 1},

{1, 2, 2, 6, 4, 10, 4, 6, 2, 2, 1}

MATHEMATICA

Clear[t, n, m]; t[n_, m_] = If[(n - m)*m == 0, 1, If[m <= Floor[n/2] && Mod[m, 2] == 1, 2*m, If[m <= Floor[n/2] && Mod[m, 2] == 0, m, If[m > Floor[n/2] && Mod[n - m, 2] == 1, 2*(n - m), If[m > Floor[n/2] && Mod[n - m, 2] == 0, (n - m), n - m]]]]]; Table[Table[t[n, m], {m, 0, n}], {n, 0, 10}]; Flatten[%]

CROSSREFS

Sequence in context: A157415 A154325 A129765 this_sequence A143209 A163994 A156593

Adjacent sequences: A143184 A143185 A143186 this_sequence A143188 A143189 A143190

KEYWORD

nonn,uned

AUTHOR

Roger L. Bagula and Gary W. Adamson (rlbagulatftn(AT)yahoo.com), Oct 17 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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research