245. Pat Murphy. Many years ago, such an incident occurred. The participants of one expedition fell into the clutches of bloodthirsty savages. The chief, after receiving rich gifts, finally softened and allowed the captives to leave, but on the condition that half of them would be flogged. The expedition consisted of 5 Englishmen and 5 native porters. The Englishmen decided to avoid flogging by forming a circle as shown in the figure, and entrusting Pat Murphy

![](https://cdn.mathpix.com/cropped/2024_05_21_56f37ca27ac3d928838dg-069.jpg?height=591&width=594&top_left_y=1618&top_left_x=731)

(№ 1) to name the number that would be used as the counting rhyme. The person on whom the named number fell would step out of the circle and be sent for flogging, and the counting would continue from that point until the named number fell on the next person, and so on.

If Pat had correctly remembered the number and started counting from the right person, the plan of the whites would have succeeded splendidly. But poor Pat confused the number and did not start counting from the right person. As a result, all the Englishmen were flogged, and the porters were not.

Could you indicate:

1) the number that poor Pat named, and the person from whom the counting began;
2) the number that should have been named, and the person from whom the counting should have started?

In each case, find the minimum number.
245. Pete said: "No matter what number you name, it's all the same, but since there are ten people here plus myself, I'll name eleven and start counting from myself." Naturally, he was the first to be sent to be flogged. Therefore, if starting from number 1, the smallest number that would be fatal for the Englishmen would be 11. In fact, Pete should have named 29 and started counting from number 9. Then all the porters would have been subjected to the execution. These two numbers are minimal.