Begin with the empty sequence and a starting number s = 0. At step k (k >= 1) append the k consecutive numbers s to s+k-1 and change the starting number (for the next step) to 2s+2.

A127330

Begin with the empty sequence and a starting number s = 0. At step k (k >= 1) append the k consecutive numbers s to s+k-1 and change the starting number (for the next step) to 2s+2.

Terms

    a(0) =0a(1) =2a(2) =3a(3) =6a(4) =7a(5) =8a(6) =14a(7) =15a(8) =16a(9) =17a(10) =30a(11) =31a(12) =32a(13) =33a(14) =34a(15) =62a(16) =63a(17) =64a(18) =65a(19) =66a(20) =67a(21) =126a(22) =127a(23) =128a(24) =129a(25) =130a(26) =131a(27) =132a(28) =254a(29) =255

External references