This is like...the very first problem of only our 5th homework assignment...they're already too hard for me. Anyone?
The homeworks are getting overwhelming...I have NO IDEA where to start...I haven't taken a math class in 10 years (calculus II).
Let a-sub-n be the nth term f the sequence 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6,..., constructed by including the integer k exactly k times. Show that a-sub-n = floor(sqrt(2n) + 1/2).
I honestly don't even know what the first step is or what I should even be thinking about...
Hi Grandad,
how did you find out that that was the place to start? Can you explain a bit more, what's going on here? I see what you're saying. You spotted the relationship that:
1 = 1
2 = 3
3 = 6
4 = 10
but like teamtrinity, I would have started with the following
and then probably not know how to go further! How did you work it out?
Hello bmp05First, let's just complete the proof. We've shown that the terms with value are in position , where:Completing the square for the LH inequality:
And in the same way for the RH inequality, we get:
So, putting the two together:
So how did I know that was the place to start? The honest answer is that I didn't. It was simply that this was the only way I could think of to describe what was happening. Clearly the position of the last one of any given set of integers, value , was the sum of the first natural numbers which is well known to be . So it was just a question of working out where these integers would start, and writing all this down algebraically.
Until I just worked out the above proof of the actual result involving the floor function, I had no idea what would happen next. But if you begin by writing down an algebraic condition to describe something that you know to be true, then the result should follow automatically. But sometimes, of course, it still isn't that easy!
Grandad