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

A118026

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

Terms

    a(0) =0a(1) =1a(2) =3a(3) =5a(4) =9a(5) =13a(6) =19a(7) =26a(8) =34a(9) =42a(10) =52a(11) =63a(12) =75a(13) =87a(14) =101a(15) =116a(16) =132a(17) =149a(18) =167a(19) =185a(20) =205a(21) =226a(22) =248a(23) =271a(24) =295a(25) =320a(26) =345a(27) =372a(28) =400a(29) =429

External references