Fairshare between two and more: Difference between revisions

m
added whitespace, broke a long line into two line, added a ;Related tasks: section and also a ;See Also section.
m (added whitespace, broke a long line into two line, added a ;Related tasks: section and also a ;See Also section.)
Line 10:
The Thue-Morse sequence of ones-and-zeroes can be generated by:
:''"When counting in binary, the digit sum modulo 2 is the Thue-Morse sequence"''
 
 
;Sharing fairly between two or more:
Use this method:
:''When counting base b, the digit sum modulo b is the Thue-Morse sequence of fairer sharing between b people.''
 
 
;Task
Counting from zero;
using a function/method/routine to express an integer count in base b,
Sum<br>sum the digits modulo b to produce the next member of the Thue-Morse fairshare
series for b people.
 
 
Show the first 25 terms of the fairshare sequence
:* &nbsp; For two people:
:* &nbsp; For three people
:* &nbsp; For five people
:* &nbsp; For eleven people
 
 
;Related tasks:
:* &nbsp; [[Non-decimal radices/Convert]]
:* &nbsp; [[Thue-Morse]]
 
 
;See also:
;References:
:* &nbsp; [https://oeis.org/A010060 A010060], [https://oeis.org/A053838 A053838], [https://oeis.org/A053840 A053840]: The On-Line Encyclopedia of Integer Sequences® (OEIS®)
* [[Non-decimal radices/Convert]]
<br><br>
* [[Thue-Morse]]
* [https://oeis.org/A010060 A010060], [https://oeis.org/A053838 A053838], [https://oeis.org/A053840 A053840]: The On-Line Encyclopedia of Integer Sequences® (OEIS®)
 
=={{header|AppleScript}}==