Given two constants, a and b, and a sequence constructed as follows:
1, 1, 1, 1...(a - 1 times), 2, 2, 2, 2,...(a-2) times,......a-1
For example, for a = 6,
1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5
Ques: Determine the bth term in the sequence
- This is opposite to the sequence given here: Finding the nth element of a sequence
I am not working for a proof here, any pointers to the explanation would help loads. Thank you