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?(adsbygoogle = window.adsbygoogle || []).push({});

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

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Expressing natural numbers

**Physics Forums | Science Articles, Homework Help, Discussion**