How to Convert (1G8A.23) Base 17 to Base 15?

  • Thread starter Thread starter Saterial
  • Start date Start date
  • Tags Tags
    Base Convert
Click For Summary

Discussion Overview

The discussion revolves around the conversion of the number (1G8A.23) from base 17 to base 15. Participants explore various methods for performing this conversion, including the use of decimal as an intermediate step and direct conversion techniques.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests that converting to decimal is a reliable method, as it aligns with their developed intuition.
  • Another participant proposes a direct conversion method, noting that units less than F in base 17 correspond directly to base 15.
  • Several participants share their calculations, with one expressing confusion over discrepancies between their results and those from an online converter.
  • One participant corrects their earlier calculation error, indicating a change in their understanding of the conversion process.
  • Another participant provides a detailed breakdown of the conversion process using powers of 15 to derive the digits in base 15.
  • A later reply introduces a method involving binomial coefficients and carrying over in the conversion process, although it is met with uncertainty regarding its clarity and utility.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method for conversion, and multiple competing views and approaches remain throughout the discussion.

Contextual Notes

Some calculations and assumptions made by participants are not fully resolved, particularly regarding the handling of decimal fractions and the accuracy of intermediate steps in the conversion process.

Saterial
Messages
54
Reaction score
0

Homework Statement


Convert (1G8A.23) base 17 into it's equivalent in base 15.

Homework Equations





The Attempt at a Solution



How would I go about doing this?

I haven't worked with letters yet so the only way I would know of is dividing 1G8A individually by the target base and take the numbers after the decimal and multiply it by the target base. But does that mean I need to convert the 1G8A to decimal first?
 
Physics news on Phys.org
When in doubt, converting to decimal is always a good choice, at the very least because that's what you have developed most intuition for.

There's probably some trick observing that every unit < F in base 17 corresponds to the same unit in base 15, which allows you to do the conversion directly. For example, 8A17 = (8 * 17 + 10 = 8 * (15 + 2) + 10)10 = (8 * 15 + (10 + 16))10, where (10 + 16)10 is 1B15 so 8A8A17 = (80 + 1B)15 = 9B15. I'd go with the decimal intermediate step :)
 
I attempted it with decimal as the intermediate step. I can't figure out what I did wrong, I used an online converter that shows 1G8A = 9683 in base 10 = 2D08 in base 15. (Wouldn't let me use decimals).

When I did my calculations I got:
1G8A.23 base 17 =

4913+4624+136+10 + 0.128
= 9683.128 (This part seemed right).

Now when I go from this decimal base 10 to base 15, I got:
9683.128:
9683 / 15 = 625 (R = 8) .128 * 15 = 1.92
625 / 15 = 41 (R=10) .9 * 15 = 13.5
41 / 15 = 2 (R = 11) .5 * 15 = 7.5
2 / 15 = 0 (R = 2)

Based on this my answer is:
2=2
11 = B
10 = A
8 = 8

So, 2BA8.1D7 base 15. How did I get it wrong, suppose to be 2D08?

*Edit sorry! I'm an idiot, it's 645 not 625.
 
Last edited:
Saterial said:
I attempted it with decimal as the intermediate step. I can't figure out what I did wrong, I used an online converter that shows 1G8A = 9683 in base 10 = 2D08 in base 15. (Wouldn't let me use decimals).

When I did my calculations I got:
1G8A.23 base 17 =

4913+4624+136+10 + 0.128
= 9683.128 (This part seemed right).

Now when I go from this decimal base 10 to base 15, I got:
9683.128:
9683 / 15 = 625 (R = 8) .128 * 15 = 1.92
625 / 15 = 41 (R=10) .9 * 15 = 13.5
41 / 15 = 2 (R = 11) .5 * 15 = 7.5
2 / 15 = 0 (R = 2)

Based on this my answer is:
2=2
11 = B
10 = A
8 = 8

So, 2BA8.1D7 base 15. How did I get it wrong, suppose to be 2D08?

*Edit sorry! I'm an idiot, it's 645 not 625.

So all is good?
 
Mark44 said:
So all is good?

Since you're converting to base-15, it's useful to list a few powers of 15
151 = 15 (duh!)
152 = 225
153 = 3375
154 = 50625

Since 1G8A17 = 968310, we can see that it is larger than 153, but smaller than 154. Also, 2*153 < 9683 < 3*153, so the first digit of the base-15 number will be 2, as in 2XXX.

To get the 2nd digit, subtract 6750 (= 2 * 153) from 9683 to get 2933. The largest multiple of 225 (= 152) that is smaller than 2933 is 2925, which is 13 * 225. This makes the second digit 13, or D15. So far, the number is 2DXX.

After subtracting 2925 from 2933, we get 8, which is smaller than 15, so the third digit is 0. We now have 2D0X.

The last digit is 8, making the number 2D0815.
 
I spent a few minutes thinking about a more clever way to do this, but all I really came up with was the following:
Code:
1 G 8 A 
======
      A   10 x 1 x 2^0
----------
    8     8 x 1 x 2^0
    1 1   8 x 1 x 2^1
----------
1 1       16 x 1 x 2^0
  4 4     16 x 2 x 2^1
    4 4   16 x 1 x 2^2
----------
1         1 x 1 x 2^0
  6       1 x 3 x 2^1
    C     1 x 3 x 2^2
      8   1 x 1 x 2^3      +
================
2 D 0 8

where the products to the right n x b x dk are formed from the number n in the current position, b is a binomial coefficient and d is the difference between the bases (17 - 15 = 2). If a number doesn't 'fit' in the column in base 15, carry to the column to the left (e.g. 8 x 1 x 2^1 = 16, so write 1 and carry 1 to the left). In the end just add up the numbers as you would normally, except instead of writing 0 and carrying 1 when you get 10, you now do so when you get 15 :)

Maybe this will help; maybe this will look like black art, in which case please pretend I did not post it.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
8K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K