1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Number theory, converting numbers too different bases

  1. Oct 5, 2008 #1
    1. The problem statement, all variables and given/known data

    Show that for any fixed a and b, there is an algorithm to convert an n-digit number from
    base a to base b with O(n^2) operations.

    3. The attempt at a solution

    Really i am completley lost here. Working backwards, i know to convert from base a to a base b you must use the division algorithm, which requires something on the order of (n^2) operations, but i really dont know how to show any of this.
  2. jcsd
  3. Oct 6, 2008 #2
    Any thoughts?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Number theory, converting numbers too different bases
  1. Differences of numbers (Replies: 3)

  2. Different numbers (Replies: 1)

  3. Number theory (Replies: 5)