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.

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.

Terms

    a(0) =1a(1) =1a(2) =1a(3) =2a(4) =4a(5) =1a(6) =1a(7) =3a(8) =6a(9) =2a(10) =7a(11) =1a(12) =1a(13) =4a(14) =8a(15) =3a(16) =9a(17) =2a(18) =10a(19) =1a(20) =1a(21) =5a(22) =10a(23) =4a(24) =11a(25) =3a(26) =12a(27) =2a(28) =13a(29) =1

External references