- #1
gravenewworld
- 1,132
- 26
How can one write any natural number n in one and only one way as 1 less than a power of 2 times an odd number?
n=2^f(n)(2g(n)-1)-1
where the red minus is the modified difference function, i.e. x-y =x-y if x>=y or x-y=0 if x<y
n=2^f(n)(2g(n)-1)-1
where the red minus is the modified difference function, i.e. x-y =x-y if x>=y or x-y=0 if x<y
Last edited: