a(1)=1 and, for n>1, a(n) is the smallest integer greater than a(n-1) such that a(n)+a(i) is not a power of 3, for i=1,..., n-1.

A114889

a(1)=1 and, for n>1, a(n) is the smallest integer greater than a(n-1) such that a(n)+a(i) is not a power of 3, for i=1,..., n-1.

Terms

    a(0) =1a(1) =3a(2) =4a(3) =7a(4) =9a(5) =10a(6) =11a(7) =12a(8) =13a(9) =19a(10) =21a(11) =22a(12) =25a(13) =27a(14) =28a(15) =29a(16) =30a(17) =31a(18) =32a(19) =33a(20) =34a(21) =35a(22) =36a(23) =37a(24) =38a(25) =39a(26) =40a(27) =55a(28) =57a(29) =58

External references