Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117136
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117136 Triangle read by rows: row n always begins with 1. Later terms in row n are obtained by successively subtracting or adding the numbers n, n+1, n+2, until reaching 1 again. The rule is that you subtract if the result is positive, otherwise you add. +0
3
1, 1, 1, 2, 4, 1, 1, 3, 6, 2, 7, 1, 1, 4, 8, 3, 9, 2, 10, 1, 1, 5, 10, 4, 11, 3, 12, 2, 13, 1, 1, 6, 12, 5, 13, 4, 14, 3, 15, 2, 16, 1, 1, 7, 14, 6, 15, 5, 16, 4, 17, 3, 18, 2, 19, 1 (list; graph; listen)
OFFSET

0,4

COMMENT

Row n has length 2n+2.

FORMULA

T(n,0) = 1. For 0<k<=n+1, T(n,2k-1) = n+2-k, T(n,2k) = 2n+1+k. - Frank Adams-Watters (FrankTAW(AT)Netscape.net), Apr 26 2006

EXAMPLE

Triangle begins:

Row 0: 1 1

Row 1: 1 2 4 1

Row 2: 1 3 6 2 7 1

Row 3: 1 4 8 3 9 2 10 1

Row 4: 1 5 10 4 11 3 12 2 13 1

...

CROSSREFS

Sequence in context: A007738 A158570 A074749 this_sequence A165200 A139227 A065626

Adjacent sequences: A117133 A117134 A117135 this_sequence A117137 A117138 A117139

KEYWORD

nonn,tabf

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Apr 21 2006

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 7 23:50 EST 2009. Contains 170430 sequences.


AT&T Labs Research