1.

Consider the non-decreasing sequence of positive integers: 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5.... in which nth positive number appears n times. Find the remainder when the 2000th term is divided by 4.

Answer»

Consider the non-decreasing sequence of positive integers:

1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5.... in which nth positive number appears n times. Find the remainder when the 2000th term is divided by 4.




Discussion

No Comment Found

Related InterviewSolutions