A161759 n occurs n times, as early as possible subject to the constraint that two successive occurrences of n are separated by exactly n terms.
1, 2, 3, 4, 2, 5, 3, 6, 4, 14, 3, 5, 19, 4, 6, 21, 9, 5, 4, 40, 54, 6, 79, 5, 14, 7, 9, 69, 6, 5, 146, 74, 19, 7, 89, 6, 9, 21, 29, 14, 164, 7, 6, 99, 104, 230, 9, 188, 209, 7, 335, 529, 19, 139, 14, 329, 9, 7, 149, 21, 40, 750, 559, 174, 44, 7, 9, 349, 29, 14, 999, 1273, 19, 7
Offset: 1
Keywords
Examples
Index of the first occurrence of 2 is 2 and that of the second occurrence is 5, separated by a(3) and a(4), two terms.