Write the natural numbers in base 3 in a triangle with k digits in the k-th row, as shown below. Sequence gives the leading diagonal.

A104607

Write the natural numbers in base 3 in a triangle with k digits in the k-th row, as shown below. Sequence gives the leading diagonal.

Terms

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

External references