a(1)=1. For n>=2, a(n) = n + (largest integer which is <= n and is missing from the earlier terms of the sequence).

A123088

a(1)=1. For n>=2, a(n) = n + (largest integer which is <= n and is missing from the earlier terms of the sequence).

Terms

    a(0) =1a(1) =4a(2) =6a(3) =7a(4) =10a(5) =11a(6) =12a(7) =16a(8) =18a(9) =19a(10) =20a(11) =21a(12) =26a(13) =28a(14) =30a(15) =31a(16) =34a(17) =35a(18) =36a(19) =37a(20) =38a(21) =44a(22) =46a(23) =48a(24) =50a(25) =51a(26) =54a(27) =55a(28) =58a(29) =59

External references