a(0)=1. a(n) = a(n-1) + (smallest integer which is >= n and is missing from the earlier terms of the sequence).
A118028
a(0)=1. a(n) = a(n-1) + (smallest integer which is >= n and is missing from the earlier terms of the sequence).
Terms
- a(0) =1a(1) =3a(2) =5a(3) =9a(4) =13a(5) =19a(6) =25a(7) =32a(8) =40a(9) =50a(10) =60a(11) =71a(12) =83a(13) =97a(14) =111a(15) =126a(16) =142a(17) =159a(18) =177a(19) =197a(20) =217a(21) =238a(22) =260a(23) =283a(24) =307a(25) =333a(26) =359a(27) =386a(28) =414a(29) =443
External references
- oeis: A118028