Counting the chair!

10 people are seating on chairs around a circular table. These chairs are marked in a clockwise manner. There is a ball on the man’s hand who is seated on 0 marked chair, and the ball will be passed from one man to another in clockwise manner. In first step, the ball goes to 1 marked chair with 1^1 turn. In second step, from there, the ball goes to 5 marked chair with 2^2 turns. In third step, the ball goes to 2 marked chair by 3^3 turns from 5 marked chair. By this means, in which(marked) chair the ball will be in 2018th step?


The answer is 5.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Giorgos K.
Feb 18, 2018

Mathematica

s = 0; For[i = 1, i <= 2018, i++, s = Mod[s + i^i, 10]]; s

answer is 5

Nice program.But I would appreciate you much if you solve this mathemetically.

Akash Hossain - 3 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...