a(1) = 1. For n >= 2, a(n) = n + (smallest integer which is >= n and is missing from among the earlier terms of the sequence).
A123249
a(1) = 1. For n >= 2, a(n) = n + (smallest integer which is >= n and is missing from among the earlier terms of the sequence).
Terms
- a(0) =1a(1) =4a(2) =6a(3) =9a(4) =10a(5) =13a(6) =14a(7) =16a(8) =20a(9) =21a(10) =22a(11) =24a(12) =28a(13) =29a(14) =30a(15) =33a(16) =34a(17) =36a(18) =38a(19) =43a(20) =44a(21) =45a(22) =46a(23) =49a(24) =50a(25) =52a(26) =54a(27) =59a(28) =60a(29) =61
External references
- oeis: A123249