A266638 a(1) = 1, a(ludic(n)) = (ludic(3+a(n-1))-1)/2, a(nonludic(n)) = A266410(a(n)), where ludic(n) = n-th ludic number A003309, nonludic(n) = n-th nonludic number A192607 and A266410 = numbers n such that 2n+1 is nonludic.
1, 2, 3, 4, 5, 7, 6, 9, 10, 13, 8, 16, 12, 15, 19, 22, 11, 27, 17, 31, 25, 29, 18, 36, 20, 40, 24, 49, 26, 32, 54, 46, 51, 34, 62, 37, 14, 68, 43, 81, 35, 47, 23, 55, 88, 76, 33, 83, 58, 99, 64, 28, 44, 107, 72, 127, 61, 77, 42, 91, 53, 136, 121, 56, 130, 94, 21, 151, 101, 50, 65, 73, 161, 114, 189, 98, 38
Offset: 1