Cyclic allocation is a method of assigning $n$ tasks to $p$ workers. The foreman allocates task $k$ to worker $k \mod p$.
$$a = k \mod p$$
Now I am interested in how the worker can calculate his allocation without the help of the foreman. As he knows his id number, he can simply compute the his set of work including the task with the same id number as himself, adding $id + p$, $id + p + p$ and so on until the task number is greater than $n$.
Now for the questions:
- Is a set the best way to define the tasks each worker has to do? How
- can I formally define the worker's set, as calculated by himself?
- Are there any other ways to define these tasks?