a(0) = 0, a(n) = a(n-1) + (smallest integer which is >= n and is missing from the earlier terms of the sequence).

A118027

a(0) = 0, a(n) = a(n-1) + (smallest integer which is >= n and is missing from the earlier terms of the sequence).

Terms

    a(0) =0a(1) =1a(2) =3a(3) =7a(4) =11a(5) =16a(6) =22a(7) =30a(8) =38a(9) =47a(10) =57a(11) =69a(12) =81a(13) =94a(14) =108a(15) =123a(16) =140a(17) =157a(18) =175a(19) =194a(20) =214a(21) =235a(22) =258a(23) =281a(24) =305a(25) =330a(26) =356a(27) =383a(28) =411a(29) =440

External references