The sequence is
0,1,1/2,0,1/3,2/3,1,3/4,2/4,1/4,0,1/5,2/5,3/5,4/5,1,5/6,4/6,3/6,2/6,1/6,0,1/7,....
it is from the top answer to this question
I considered some closed-form definitions involving modulo but I can't take the descending part of the sequence into the definition.