Alright, thanks, here it goes: Basically I have this sequence {1,2,3,4,7,5,11,8,16,12,22,6,29,17,9,37,46,23,10,30,56,67,13,38,18,79,92,14,47,106,57,121,19,24,68,31,80,15,25,93,20,9,32,107,...,n } and I need a function for it. I've already solved a couple, this is the last one, after I know that function, I will conquer all! muhahah. (full:
math.stackexchange.com/q/3045860/333955)