# How many different ways can you represent '42'?

• (4 Pages)
• 1
• 2
• 3
• Last »

## 45 Replies - 2836 Views - Last Post: 28 April 2012 - 03:16 PM

### #1 xor-logic

• HAL9000 was an Apple product

Reputation: 128
• Posts: 764
• Joined: 04-February 10

# How many different ways can you represent '42'?

Posted 27 April 2012 - 09:40 AM

Working on a little project, and I need help coming up with as many different ways of representing the number 42 as possible (avoiding simple base-n representations [except of course for decimal and binary]). So far I've come up with decimal, binary, roman numerals, printing out 42 dots or slashes, "6 X 7", "forty-two", "quarante deux", "42/1","2x3x7" [prime factors], and "41++".

What are other interesting and possibly funny ways to represent this number?

(Yes, my project is H2G2 related)

EDIT:
Finished page: Douglas Adams Computational Knowledge Engine

This post has been edited by xor-logic: 28 April 2012 - 03:01 PM

Is This A Good Question/Topic? 0

## Replies To: How many different ways can you represent '42'?

### #2 BenignDesign

• I cause cancer.

Reputation: 4662
• Posts: 8,887
• Joined: 28-September 07

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 09:42 AM

We, here at </dream.in.code>, prefer to see a good faith effort on your part before providing homework assistance. kthx.

### #3 Celerian

• D.I.C Regular

Reputation: 144
• Posts: 384
• Joined: 30-March 12

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 09:45 AM

POPULAR

It doesn't work mathematically, but as a pun it does: Fourty Twos.

```2222222222
2222222222
2222222222
2222222222

```

### #4 xor-logic

• HAL9000 was an Apple product

Reputation: 128
• Posts: 764
• Joined: 04-February 10

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 09:46 AM

BenignDesign, on 27 April 2012 - 04:42 PM, said:

We, here at </dream.in.code>, prefer to see a good faith effort on your part before providing homework assistance. kthx.

This is true, but:
A ) I haven't been in school for many, many years, ergo this is not homework.
B ) My effort:
• Decimal
• Binary
• Roman Numerals
• Printing 42 icons
• 6x7
• forty-two
• quarante-deux
• 42/1
• 2x3x7 [prime factors]
• 41++

C ) This isn't a gimme the codes post.

This post has been edited by xor-logic: 27 April 2012 - 09:46 AM

### #5 BenignDesign

• I cause cancer.

Reputation: 4662
• Posts: 8,887
• Joined: 28-September 07

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 09:49 AM

### #6 modi123_1

• Suitor #2

Reputation: 6472
• Posts: 23,543
• Joined: 12-June 08

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 09:50 AM

Quote

C ) This isn't a gimme the codes post.

I agree with Peter Sellers on this - we shall see!
Spoiler

### #7 jon.kiparsky

• Pancakes!

Reputation: 5429
• Posts: 8,745
• Joined: 19-March 11

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 09:57 AM

xor-logic, on 27 April 2012 - 11:46 AM, said:

C ) This isn't a gimme the codes post.

I think the effort requested was more some effort to provide an interesting post.
Yours is boring.

Here's my contribution: '*' (ASCII value)

### #8 Creecher

• I don't care

Reputation: 556
• Posts: 2,044
• Joined: 06-March 10

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 10:18 AM

42 = the meaning of life the universe and everything

### #9 jon.kiparsky

• Pancakes!

Reputation: 5429
• Posts: 8,745
• Joined: 19-March 11

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 10:44 AM

Creecher, on 27 April 2012 - 12:18 PM, said:

42 = the meaning of life the universe and everything

Not exactly - it's the answer to life, the universe, and everything. That's a bit different.

### #10 baavgai

• Dreaming Coder

Reputation: 4888
• Posts: 11,282
• Joined: 16-October 07

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 11:12 AM

What the hell...

Mo ( You'd have the know the atomic weight of Molybdenum for this one. But then, who doesn't? )

Also:
```---------
---------
---   ---
---   ---
---   ---
---------

```

I don't think I'll explain that one, but now I have Bowie's "Changes" running through my head.

### #11 Celerian

• D.I.C Regular

Reputation: 144
• Posts: 384
• Joined: 30-March 12

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 11:34 AM

Molydbenum is a good one, but you don't have to know the Atomic Weight (95.94 amu). Just know that 42 is the Atomic Number and the number of protons/electrons it has.

Also, for your second one, shouldn't row 2 be missing 3 ticks as well? You have 45 there.

This post has been edited by Celerian: 27 April 2012 - 11:36 AM

### #12 jon.kiparsky

• Pancakes!

Reputation: 5429
• Posts: 8,745
• Joined: 19-March 11

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 11:43 AM

Celerian, on 27 April 2012 - 01:34 PM, said:

Also, for your second one, shouldn't row 2 be missing 3 ticks as well? You have 45 there.

You should increase your knowledge of other cultures...

### #13 baavgai

• Dreaming Coder

Reputation: 4888
• Posts: 11,282
• Joined: 16-October 07

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 11:49 AM

You're right, of course. Number, not weight. Brain thought weight in table... Honestly, brain is more than a little odd in how it makes associations.

Celerian, on 27 April 2012 - 01:34 PM, said:

Also, for your second one, shouldn't row 2 be missing 3 ticks as well? You have 45 there.

Nope. 45 would be:
```---   ---
---------
---------
---   ---
---   ---
---   ---

```

Hint: We are going from a book, not at a math one. Though, to be fair, it is where binary came from. Well, Leibniz notes the book as inspiration. He came up with his idea before seeing the book. But the book predates him by a little bit.

### #14 Celerian

• D.I.C Regular

Reputation: 144
• Posts: 384
• Joined: 30-March 12

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 11:51 AM

jon.kiparsky: I would love to learn more about other cultures. Since you seem to know what it mean, maybe you would provide an explanation, or at least a better clue so I might find it on my own?

### #15 jon.kiparsky

• Pancakes!

Reputation: 5429
• Posts: 8,745
• Joined: 19-March 11

## Re: How many different ways can you represent '42'?

Posted 27 April 2012 - 11:52 AM

Celerian, on 27 April 2012 - 01:51 PM, said:

jon.kiparsky: I would love to learn more about other cultures. Since you seem to know what it mean, maybe you would provide an explanation, or at least a better clue so I might find it on my own?

That was a pretty broad clue, to go with the one baavgai provided. Shall I augment it? No, I think you should stalk the answer until you find it.

This post has been edited by jon.kiparsky: 27 April 2012 - 11:55 AM