Fairshare between two and more: Difference between revisions

Content added Content deleted
m (added whitespace, broke a long line into two line, added a ;Related tasks: section and also a ;See Also section.)
m (added whitespace and also a colon.)
Line 18: Line 18:


;Task
;Task
Counting from zero; nbsp; using a function/method/routine to express an integer count in base b,
Counting from zero;
using a function/method/routine to express an integer count in base b,
<br>sum the digits modulo b to produce the next member of the Thue-Morse fairshare
<br>sum the digits modulo b to produce the next member of the Thue-Morse fairshare
series for b people.
series for b people.




Show the first 25 terms of the fairshare sequence
Show the first 25 terms of the fairshare sequence:
:* &nbsp; For two people:
:* &nbsp; For two people:
:* &nbsp; For three people
:* &nbsp; For three people