a(0) = 0; for n > 0, a(n) is taken to be the smallest positive integer greater than a(n-1) which is consistent with the condition "n is a term of the sequence if and only if a(n) == 1 (mod 3)".

A080722

a(0) = 0; for n > 0, a(n) is taken to be the smallest positive integer greater than a(n-1) which is consistent with the condition "n is a term of the sequence if and only if a(n) == 1 (mod 3)".

Terms

    a(0) =0a(1) =1a(2) =3a(3) =4a(4) =7a(5) =8a(6) =9a(7) =10a(8) =13a(9) =16a(10) =19a(11) =20a(12) =21a(13) =22a(14) =23a(15) =24a(16) =25a(17) =26a(18) =27a(19) =28a(20) =31a(21) =34a(22) =37a(23) =40a(24) =43a(25) =46a(26) =49a(27) =52a(28) =55a(29) =56

External references