i am looking for an explicit formula for the sequence given by the following numbers:
0, 1/2, 1, 2/3, 1/3, 0, 1/4, 2/4, 3/4, 1, 4/5, 3/5, 2/5, 1/5, 0, 1/6, etc..
we get the general term of the sequence to be:
i figured this out yesterday but didn't have the time to learn LaTex. And I had Mr. Fantastic sending me demerits all day long. maybe he could have spent more time helping with this as opposed to sitting in front of his computer sending out demerits!!
the funny thing is this sequence is just used as a counterexample in a cauchy sequence problem i was looking at. it wasn't that important to get the general term formula. it just bugged me so much that i couldn't let it go. but i guess it's useful that i learned how to get a general term for 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, etc along the way. the general term for this is:
sorry again, this part is a little tricky and i found an error.
multiply < n <= by 2 to get . now add 1/4 to both sides and factor to get or . take the square root of everything and we get .
add 1/2 to both sides and we get .
i just checked it in Excel and the 1/4 is not affecting the result, luckily. it still works if we start with n = 0.