Minkowski question-mark function: Difference between revisions
Content deleted Content added
m →{{header|Factor}}: add works with template |
promoting to task. seems stable, and the description has been improved some time ago |
||
Line 1:
{{
The '''Minkowski question-mark function''' converts the continued fraction representation {{math|[a<sub>0</sub>; a<sub>1</sub>, a<sub>2</sub>, a<sub>3</sub>, ...]}} of a number into a binary decimal representation in which the integer part {{math|a<sub>0</sub>}} is unchanged and the {{math|a<sub>1</sub>, a<sub>2</sub>, ...}} become alternating runs of binary zeroes and ones of those lengths. The decimal point takes the place of the first zero.
|