Help Convert base 17 - base 15

In summary, you would need to convert 1G8A.23 to base 15 in order to solve the equation. The Attempt at a Solution discusses this in more detail.
  • #1
Saterial
54
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
  • #2
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 :)
 
  • #3
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:
  • #4
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?
 
  • #5
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.
 
  • #6
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.
 

1. What is the process for converting a number from base 17 to base 15?

The process for converting a number from base 17 to base 15 involves dividing the number by 17 and then converting the remainder into a base 15 digit. This process is repeated until the entire number has been converted.

2. Can any number be converted from base 17 to base 15?

Yes, any number can be converted from base 17 to base 15 as long as it is a whole number (no decimals or fractions).

3. Why do we need to convert numbers from one base to another?

Converting numbers from one base to another allows us to work with numbers in different systems and perform mathematical operations more easily. It also helps with data storage and communication in computer systems.

4. Are there any shortcuts or tricks for converting from base 17 to base 15?

There are no specific shortcuts or tricks for converting from base 17 to base 15, but using a calculator or conversion tool can speed up the process.

5. Can you explain the difference between base 17 and base 15?

The main difference between base 17 and base 15 is the number of symbols used to represent numbers. Base 17 uses 17 symbols (0-9, A-F) while base 15 uses 15 symbols (0-9, A-E). This means that base 17 can represent larger numbers with fewer digits compared to base 15.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
7
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
9
Views
6K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Introductory Physics Homework Help
Replies
3
Views
194
Replies
4
Views
932
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
Back
Top