mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2023-06-10, 00:45   #45
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

2·3·19·71 Posts
Default

40 = 5*(4+3+2-1)
41 = 5*(4+3+2-1) + 1
39 = 5*(4+3+2-1) - 1

"using only the digits 5, 4, 3, 2, and 1, in that order." (No other digits are allowed, and they must appear in the specified order)
"You may not change the order of the numbers"
It does NOT state the digits must only appear once per value!

But this is an unsatisfying solution. It leads to a general case where, for any arbitrarily large number > 14, one can simply pile on the needed number of ones to be summed after a leading sequence such as
5+4+3+2

(Or for that matter: Must they all 5 appear at least once? Is the number base required to be ten?)
In base 30, 39 (base 30) = 99 (base 10)= 5*4*(3+2) - 1

15=55+4+3+2+1 has a typo; 15 = 5+4+3+2+1.
There are more results with multiple solutions, eg 31 = 5*4*3/2 + 1

Last fiddled with by kriesel on 2023-06-10 at 01:05
kriesel is online now   Reply With Quote
Old 2023-06-10, 00:51   #46
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

24·3·11·13 Posts
Default

Quote:
Originally Posted by kriesel View Post
It does NOT state the digits must only appear once per value!
It also doesn't say we can't invoke the magic wizard spell MakusUppumShittius to give any answer we desire. So let's use that and solve all the puzzles.

Such interpretations of it-doesn't-say-X-so-let's-use-X render all puzzles useless and boring.
retina is offline   Reply With Quote
Old 2023-06-10, 14:55   #47
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

2×3×19×71 Posts
Default

Quote:
Originally Posted by retina View Post
It also doesn't say we can't invoke the magic wizard spell MakusUppumShittius to give any answer we desire. So let's use that and solve all the puzzles.
Quote:
Originally Posted by R.D. Silverman View Post
This is very clear. It specifies the operations that may be used.
The allowed operations do not include spell casting, nor do my suggested solutions.

If the puzzle was correctly written, specifying too completely would provide too obvious a hint:
Use only the digits 5, 4, 3, 2, and 1, in that order, at least once each.
Identifying unstated and mistaken assumptions and putting them aside is what may separate the student that gets full credit from the ones that get an A grade while missing some points.
39 = (55 + 44 ) / 3 + 3 + 2 + 1 uses only the digits 5, 4, 3, 2, and 1, in that order, but some more than once, and the only operators in the expression are ()/+.

On the other hand, having a set of rules which make the assigned task impossible to complete is an abuse of authority:
Use only the numbers 5, 4, 3, 2, and 1, in that order, exactly once each.
Or if the puzzle is fair, the appearance of no solution is a sign of an undetected incorrect assumption about the rules.

Last fiddled with by kriesel on 2023-06-10 at 14:55
kriesel is online now   Reply With Quote
Old 2023-06-10, 17:23   #48
S485122
 
S485122's Avatar
 
"Jacob"
Sep 2006
Brussels, Belgium

196710 Posts
Default

Quote:
Originally Posted by kriesel View Post
...
If the puzzle was correctly written, specifying too completely would provide too obvious a hint:
Use only the digits 5, 4, 3, 2, and 1, in that order, at least once each.
...
Perhaps the puzzle was adequately written but not sufficiently read ?
Quote:
Take the digits 5, 4, 3, 2 and 1, in that order. Using those digits and the four arithmetic signs — plus, minus, times and divided by — you can get 1 with the sequence 5 - 4 + 3 - 2 - 1. You can get 2 with the sequence (5 - 4 + 3 - 2) x 1.
The question is ... how many numbers from 1 to 40 can you get using the digits 5, 4, 3, 2, and 1 in that order along with the four arithmetic signs?
You can group digits with parentheses, as in the example. There are no tricks to this, though. It's a straightforward puzzle. How many numbers from 1 to 40 can you get — and, specifically, what number or numbers can you not get?
In both posts where you refer to the condition in the first sentence and the second line of the puzzle, you add the word "only" that changes the puzzle, indeed it opens the door for using some elements of the set more than once. But the puzzle states to use a set that is enumerated (and no element of that set is repeated).

The rest of your post is about another situation altogether : did you note that the questions leaves a possibility that a number can't be represented, and then goes as far as asking which they or it might be ? The solution to the puzzle, its point, is to find out that 39 can't be represented.

But I agree the puzzle is not stated in a formal mathematical way : it should speak of numbers and not digits ; it is not digits that one can group with parentheses, but operations, otherwise it opens the way to concatenation ; it doesn't specify the base ; perhaps one should specify the set and define the operations used ; ... It should be possible to state this puzzle in such a way that only a very few can understand it ;-)

Last fiddled with by S485122 on 2023-06-10 at 21:43 Reason: go -> goes and two commas
S485122 is online now   Reply With Quote
Old 2023-06-10, 17:28   #49
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

2×11×347 Posts
Default

Quote:
Originally Posted by S485122 View Post
it doesn't specify the base
Ah, but it did when it said digits! It did not say, e.g. bits, or octets etc.
R.D. Silverman is offline   Reply With Quote
Old 2023-06-10, 18:47   #50
slandrum
 
Jan 2021
California

52×23 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
"You may use addition, subtraction, multiplication, division, and parentheses as many times as needed"

This is very clear. It specifies the operations that may be used. Concatenation is not among them.
Otherwise, one could use your "exclusion" argument to say that exponentiation and other operators
(e.g. xor, and, etc) might also be used because they were not excluded.
It doesn't say anything at all about operators. Parentheses are not operators either. You are reading more into the rules than are stated.

Last fiddled with by slandrum on 2023-06-10 at 18:48
slandrum is offline   Reply With Quote
Old 2023-06-10, 18:54   #51
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

1AD016 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
Ah, but it did when it said digits!
Curious. I would interpret digit to be valid for any base.

Binary digit
Octal digit
Decimal digit
etc.
retina is offline   Reply With Quote
Old 2023-06-11, 14:32   #52
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

3×7×311 Posts
Default

Quote:
Originally Posted by retina View Post
Curious. I would interpret digit to be valid for any base.

Binary digit
Octal digit
Decimal digit
etc.
In the present instance, the digits 1, 2, 3, 4, and 5 indicate a base of at least six. Since the numbers (in base ten) 1 to 38 can be represented under the rules, but 39 (base ten) can not, and 40 base nine is 36 base ten, we can say that ten is the smallest base for which there is a number less than 40 which is not representable.
Dr Sardonicus is offline   Reply With Quote
Old 2023-07-26, 07:21   #53
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

2·5,179 Posts
Default

Quote:
Originally Posted by retina View Post
Curious. I would interpret digit to be valid for any base.
Binary digit
Octal digit
Decimal digit
etc.
+1. The "bit" itself is just a short for "binary digit". I had this argument with RDS some time ago on this forum It turned ugly.
However, I agree with RDS that concatenation should not be used, ESPECIALLY because the puzzle says "digits", putting 4 and 3 together to get 43 is, in my mind, clearly, an operation which is called "digit concatenation".
LaurV is offline   Reply With Quote
Old 2023-07-26, 14:30   #54
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

3×7×311 Posts
Default

Quote:
Originally Posted by LaurV View Post
<snip>
However, I agree with RDS that concatenation should not be used, ESPECIALLY because the puzzle says "digits", putting 4 and 3 together to get 43 is, in my mind, clearly, an operation which is called "digit concatenation".
The original puzzle (linked to in the IP of this thread) says
Quote:
Next week's challenge: This is a two-week challenge. Take the digits 5, 4, 3, 2 and 1, in that order. Using those digits and the four arithmetic signs — plus, minus, times and divided by — you can get 1 with the sequence 5 - 4 + 3 - 2 - 1. You can get 2 with the sequence (5 - 4 + 3 - 2) x 1.

The question is ... how many numbers from 1 to 40 can you get using the digits 5, 4, 3, 2, and 1 in that order along with the four arithmetic signs?

You can group digits with parentheses, as in the example.
And there you have it. Plus, minus, times, divided by, and grouping with parentheses. That's it.
Dr Sardonicus is offline   Reply With Quote
Old 2023-07-26, 17:21   #55
slandrum
 
Jan 2021
California

23F16 Posts
Default

Quote:
Originally Posted by slandrum View Post
39 = -5 + 43 + 2 - 1
It says to use the digits in order, not the numbers 5,4,3,2,1. My answer above uses the digits in order along with + and -. It clearly fits within the stated instructions. Problems of this sort are often stated like this so that in order to answer them, you have to let go of an automatic assumption.

My answer above is not the only answer either. 5 * 4 * 3 - 21 also works.
slandrum is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
WakeOnLan (There must be someone who knows the answer to this.) wildrabbitt Linux 26 2020-05-09 19:09
If you choose an answer at random Uncwilly Lounge 12 2018-02-14 15:00
mfakto is not running.. please give me a answer diablo5147 GPU Computing 1 2013-12-09 01:47
Manual reservation system obsolete? (Answer: no) thommy Prime Sierpinski Project 5 2006-02-21 16:36
please answer flasholinos Lone Mersenne Hunters 2 2003-06-17 19:08

All times are UTC. The time now is 23:15.


Sun Oct 1 23:15:39 UTC 2023 up 18 days, 20:57, 0 users, load averages: 0.58, 0.68, 0.73

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔