a(1) = 1. a(2n) = smallest positive integer not occurring among the earlier terms of the sequence. a(2n+1) = the a(n)th positive integer among those positive integers not occurring earlier in the sequence.

A118315

a(1) = 1. a(2n) = smallest positive integer not occurring among the earlier terms of the sequence. a(2n+1) = the a(n)th positive integer among those positive integers not occurring earlier in the sequence.

Terms

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

External references