javasaurus: (Default)
[personal profile] javasaurus
Found on the net...

Question:

Why do computer programmers confuse Hallowe'en and Christmas?

Answer:

Because oct31=dec25.

Date: 2005-10-19 04:42 pm (UTC)
From: [identity profile] javasaurus.livejournal.com
sure!

In the decimal number system (what we normally use), the first number (on the right!) is how many ones we have, the second is how many tens, and the third is how many hundreds. So with 347, we have 7 ones plus 4 tens plus 3 hundreds.

With octal (also called base 8), we still have ones on the far right, then eights (instead of tens), then sixty-fours (instead of hundreds). So oct245 would be 5 + 4x8 + 2x64, or 165 in decimal.

So oct31 is three eights plus one, or twenty-five in decimal.



Date: 2005-10-19 06:13 pm (UTC)
From: [identity profile] javasaurus.livejournal.com
Also, as a bit of trivia, in base 13, 9 x 6 = 42

Profile

javasaurus: (Default)
javasaurus

June 2012

S M T W T F S
     12
3456 789
101112 13141516
17181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 14th, 2025 06:34 am
Powered by Dreamwidth Studios