62 bytes added
, 05:42, 11 February 2014
| Line 13: |
Line 13: |
| | <math>P(x)= | | <math>P(x)= |
| | \begin{cases} | | \begin{cases} |
| − | 0, &for &x<a \\ | + | 0 \\ |
| − | 1/b-a, &for &a<x<b \\ | + | 1/b-a \\ |
| − | 0, &for &x>b | + | 0 |
| | \end{cases}</math> | | \end{cases}</math> |
| | | | |
| Line 22: |
Line 22: |
| | n/2, &if n is even \\ | | n/2, &if n is even \\ |
| | 3n+1, &if n is odd | | 3n+1, &if n is odd |
| | + | \end{cases}</math> |
| | + | |
| | + | <math>P(x)= |
| | + | \begin{cases} |
| | + | 0, &for &x<a \\ |
| | + | 1/b-a, &for &a<x<b \\ |
| | + | 0, &for &x>b |
| | \end{cases}</math> | | \end{cases}</math> |
| | | | |