Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Interesting but useless equation?

  1. Nov 2, 2011 #1
    Can anyone tell me what this is?

    My son created it as an entertaining exercise -- he says it transposes positive integers. Is he right?

    [itex]\left(n\right)=\sum_{k=0}^{[log_b\left(n\right)]}\left(b^k\left(\left\lfloor \frac{n}{b^{\left\lceil log_b\left(n\right)\right\rceil}-k-1}\right\rfloor \%b \right)\right)[/itex]

    % represents modulus and b represents the base of the number being transposed (e.g., 10). Sorry if this is not the appropriate forum (Calculus & Analysis). Please attribute that to ignorance rather than to apathy.

    Thanks for your help.
    Last edited: Nov 2, 2011
  2. jcsd
  3. Nov 2, 2011 #2


    User Avatar
    Science Advisor

    Your latex isn't working.
  4. Nov 2, 2011 #3
    Thank you mathman. I think the latex is fixed.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook