Triangle read by rows: Start with the row 1,2. To get the next row, do the following: if the sum of two adjacent terms is odd then insert this sum in between them, otherwise insert the absolute value of their difference; repeat the procedure.
A126597
Triangle read by rows: Start with the row 1,2. To get the next row, do the following: if the sum of two adjacent terms is odd then insert this sum in between them, otherwise insert the absolute value of their difference; repeat the procedure.
Terms
- a(0) =1a(1) =2a(2) =1a(3) =3a(4) =2a(5) =1a(6) =2a(7) =3a(8) =5a(9) =2a(10) =1a(11) =3a(12) =2a(13) =5a(14) =3a(15) =2a(16) =5a(17) =7a(18) =2a(19) =1a(20) =2a(21) =3a(22) =5a(23) =2a(24) =7a(25) =5a(26) =2a(27) =3a(28) =5a(29) =2
External references
- oeis: A126597