|
Because != is a logical operation, not a mathematical one and thus against the strict letter of the question.
Otherwise it becomes trivial:
0+0+0 != 6
1+1+1 != 6
2+2+2 = 6
3+3+3 != 6
4+4+4 != 6
5+5+5 != 6
6+6+6 != 6
7+7+7 != 6
8+8+8 != 6
9+9+9 != 6
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre.
Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
|
|
|
|
|
rofl! You are right.
I'm an interpreter. I stopped at line one.
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.
|
|
|
|
|
Zero factorial is 1 is it? (Well it is apparently) but how the hell that works I don't know. A bit like light being a particle and a wave *at the same time*. I reckon they just make it up.
Regards,
Rob Philpott.
|
|
|
|
|
(0!+0!+0!)! = 6
(1+1+1)! = 6
2+2+2 = 6
(3*3)-3 = 6
√(4*4)+√4 = 6
5+(5/5) = 6
7-(7/7) = 6
8-√√(8+8) = 6
√(9*9)-√9 = 6
[edit] Fixed 4 and 8, and added 9
speramus in juniperus
modified 13-Sep-13 8:03am.
|
|
|
|
|
Pst! You got 888 wrong as well...
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre.
Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
|
|
|
|
|
Nagy Vilmos wrote: (4*4)/√4 = 6
Or 8, as it's known.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
You might want to recheck your answer for 4...
|
|
|
|
|
it was root four times four plus root four but it got fubared
speramus in juniperus
|
|
|
|
|
Just for the eights I would suggest
3√8 + 3√8 + 3√8
I'd say the number should be allowed since it belongs to the operator.
You decide!
Cheers!
"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian
|
|
|
|
|
Within the office, we solved 8 without the number in the operator... but you're on the right track.
|
|
|
|
|
Tim Carmichael wrote: What are you solutions?
Add an s to the end of the first word in the title of your post.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
Another option for 8:
8 - Cos(8 × π) - Cos(8 × π)
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Pi is a number, I think. A mad-as-a-box-of-frogs number, but still a number.
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre.
Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
|
|
|
|
|
It's a mathematical symbol which represents a number.
That's my story, and I'm sticking to it!
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Don't knock the dried frog pills until you've whizzit tried them. Hmm?
speramus in juniperus
|
|
|
|
|
Aha!
8 - √√(8 + 8) = 6
Blindingly obvious once you spot it.
Edit: And then I see that Nagy edited his post and got the answer before me.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
(sqrt( 8 + (8/8) ))!
8-sqrt(sqrt(8+8))
etc...
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
A couple of different solutions.
(1 + 1 + 1)# = 6
2# + 2 + 2 = 6
3# + 3 - 3 = 6
4# + 4 - 4 = 6
ϕ(5) + ϕ(5) + ϕ(5) = 6
ϕ(6) + ϕ(6) + ϕ(6) = 6
ϕ(7) + ϕ(7) - ϕ(7) = 6
ϕ(8)# + 8 - 8 = 6
ϕ(9) + 9 - 9 = 6
modified 13-Sep-13 12:35pm.
|
|
|
|
|
I, too, can invent mathematical operators at convenience.
For instance f(x1,...xn) = 6 , for any xi .
Obviously,
f(1,1,1)=6<br />
f(2,2,2)=6<br />
...
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
ϕ(n) is the totient function. Number of integers relatively prime to n. ϕ(5) = 4, ϕ(6) = 2, etc.
N# is the primorial function. It multiplies all the primes less than or equal to N.
Both of these are more esoteric math operators that are used in higher math.
|
|
|
|
|
Bassam Abdul-Baki wrote: ϕ(8)#
This must be the famous "phi sharp" function
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
(0! + 0! + 0!)! = 6
(1 + 1 + 1)! = 6
2 + 2 + 2 = 6
3 * 3 - 3 = 6
√4 + √4 + √4 = 6
5 + (5 - 5)! = 6
6 - 6 + 6 = 6
7 - (7 - 7)! = 6
∛8 + ∛8 + ∛8 = 6
√9 * √9 - √9 = 6
If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering.-Wernher von Braun Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
Tim Carmichael wrote: 0 0 0 != 6
1 1 1 != 6
2 2 2 != 6
3 3 3 != 6
4 4 4 != 6
5 5 5 != 6
7 7 7 != 6
8 8 8 != 6
9 9 9 != 6
Will Rogers never met me.
|
|
|
|
|
Now, is this a comment[^] from Woking on Premier Inn, or Premier Inn's opinion of Woking?
speramus in juniperus
|
|
|
|
|
Monitor wipe in aisle three!
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre.
Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.
|
|
|
|