Anonymous user
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,
series for b people.
Show the first 25 terms of the fairshare sequence
:* For two people:
:* For three people
:* For five people
:* For eleven people
;Related tasks:
:* [[Non-decimal radices/Convert]]▼
:* [[Thue-Morse]]▼
;See also:
:* [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}}==
|