Create your own custom ruler

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
8
down vote

favorite
1












There is a blank ruler of $X$ units. You are going to set $9$ marks on this ruler so that you will be able to measure all integer values from $1$ to $X$ units with only one measurement.




What is the maximum value $X$ can take?




For example: if this problem was asked for $3$ marks, the answer would be $9$ by marking $1$,$2$ and $6$ units on the ruler.



Source: 2006 Puzzleup







share|improve this question


















  • 2




    how is 3 in one measurement?
    – JonMark Perry
    Aug 18 at 8:18






  • 1




    @JonMarkPerry from 9 to 6.
    – Oray
    Aug 18 at 8:19










  • Yes, the end points $0$ and $X$ are essentially also marks, not included in the count of the additional marks that you need to make. The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for. It looks possible to find the answer by hand, but I'm not so sure how you could prove that $X$ is maximal without computer assistance.
    – Jaap Scherphuis
    Aug 18 at 8:32










  • @JaapScherphuis "The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for." find it then and post it here as an answer. I believe it is also a solution to find an answer via wiki. I didnt say you should not use a computer to solve it by the way.
    – Oray
    Aug 18 at 8:34











  • @JonMarkPerry share it please :) sounds interesting
    – Oray
    Aug 19 at 5:36














up vote
8
down vote

favorite
1












There is a blank ruler of $X$ units. You are going to set $9$ marks on this ruler so that you will be able to measure all integer values from $1$ to $X$ units with only one measurement.




What is the maximum value $X$ can take?




For example: if this problem was asked for $3$ marks, the answer would be $9$ by marking $1$,$2$ and $6$ units on the ruler.



Source: 2006 Puzzleup







share|improve this question


















  • 2




    how is 3 in one measurement?
    – JonMark Perry
    Aug 18 at 8:18






  • 1




    @JonMarkPerry from 9 to 6.
    – Oray
    Aug 18 at 8:19










  • Yes, the end points $0$ and $X$ are essentially also marks, not included in the count of the additional marks that you need to make. The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for. It looks possible to find the answer by hand, but I'm not so sure how you could prove that $X$ is maximal without computer assistance.
    – Jaap Scherphuis
    Aug 18 at 8:32










  • @JaapScherphuis "The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for." find it then and post it here as an answer. I believe it is also a solution to find an answer via wiki. I didnt say you should not use a computer to solve it by the way.
    – Oray
    Aug 18 at 8:34











  • @JonMarkPerry share it please :) sounds interesting
    – Oray
    Aug 19 at 5:36












up vote
8
down vote

favorite
1









up vote
8
down vote

favorite
1






1





There is a blank ruler of $X$ units. You are going to set $9$ marks on this ruler so that you will be able to measure all integer values from $1$ to $X$ units with only one measurement.




What is the maximum value $X$ can take?




For example: if this problem was asked for $3$ marks, the answer would be $9$ by marking $1$,$2$ and $6$ units on the ruler.



Source: 2006 Puzzleup







share|improve this question














There is a blank ruler of $X$ units. You are going to set $9$ marks on this ruler so that you will be able to measure all integer values from $1$ to $X$ units with only one measurement.




What is the maximum value $X$ can take?




For example: if this problem was asked for $3$ marks, the answer would be $9$ by marking $1$,$2$ and $6$ units on the ruler.



Source: 2006 Puzzleup









share|improve this question













share|improve this question




share|improve this question








edited Aug 18 at 8:24









JonMark Perry

13.3k42666




13.3k42666










asked Aug 18 at 7:28









Oray

14.1k435139




14.1k435139







  • 2




    how is 3 in one measurement?
    – JonMark Perry
    Aug 18 at 8:18






  • 1




    @JonMarkPerry from 9 to 6.
    – Oray
    Aug 18 at 8:19










  • Yes, the end points $0$ and $X$ are essentially also marks, not included in the count of the additional marks that you need to make. The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for. It looks possible to find the answer by hand, but I'm not so sure how you could prove that $X$ is maximal without computer assistance.
    – Jaap Scherphuis
    Aug 18 at 8:32










  • @JaapScherphuis "The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for." find it then and post it here as an answer. I believe it is also a solution to find an answer via wiki. I didnt say you should not use a computer to solve it by the way.
    – Oray
    Aug 18 at 8:34











  • @JonMarkPerry share it please :) sounds interesting
    – Oray
    Aug 19 at 5:36












  • 2




    how is 3 in one measurement?
    – JonMark Perry
    Aug 18 at 8:18






  • 1




    @JonMarkPerry from 9 to 6.
    – Oray
    Aug 18 at 8:19










  • Yes, the end points $0$ and $X$ are essentially also marks, not included in the count of the additional marks that you need to make. The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for. It looks possible to find the answer by hand, but I'm not so sure how you could prove that $X$ is maximal without computer assistance.
    – Jaap Scherphuis
    Aug 18 at 8:32










  • @JaapScherphuis "The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for." find it then and post it here as an answer. I believe it is also a solution to find an answer via wiki. I didnt say you should not use a computer to solve it by the way.
    – Oray
    Aug 18 at 8:34











  • @JonMarkPerry share it please :) sounds interesting
    – Oray
    Aug 19 at 5:36







2




2




how is 3 in one measurement?
– JonMark Perry
Aug 18 at 8:18




how is 3 in one measurement?
– JonMark Perry
Aug 18 at 8:18




1




1




@JonMarkPerry from 9 to 6.
– Oray
Aug 18 at 8:19




@JonMarkPerry from 9 to 6.
– Oray
Aug 18 at 8:19












Yes, the end points $0$ and $X$ are essentially also marks, not included in the count of the additional marks that you need to make. The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for. It looks possible to find the answer by hand, but I'm not so sure how you could prove that $X$ is maximal without computer assistance.
– Jaap Scherphuis
Aug 18 at 8:32




Yes, the end points $0$ and $X$ are essentially also marks, not included in the count of the additional marks that you need to make. The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for. It looks possible to find the answer by hand, but I'm not so sure how you could prove that $X$ is maximal without computer assistance.
– Jaap Scherphuis
Aug 18 at 8:32












@JaapScherphuis "The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for." find it then and post it here as an answer. I believe it is also a solution to find an answer via wiki. I didnt say you should not use a computer to solve it by the way.
– Oray
Aug 18 at 8:34





@JaapScherphuis "The solution to this problem can easily be found on Wikipedia if you know the mathematical term to look for." find it then and post it here as an answer. I believe it is also a solution to find an answer via wiki. I didnt say you should not use a computer to solve it by the way.
– Oray
Aug 18 at 8:34













@JonMarkPerry share it please :) sounds interesting
– Oray
Aug 19 at 5:36




@JonMarkPerry share it please :) sounds interesting
– Oray
Aug 19 at 5:36










1 Answer
1






active

oldest

votes

















up vote
7
down vote



accepted










A ruler with just a few marks is called a "sparse ruler". Such a ruler of length $X$ that can measure all lengths from $1$ to $X$ is called a "complete sparse ruler". It is called optimal if it can't be done with fewer marks and there is no complete ruler with the same number of marks which is longer.



The Wikipedia page for Sparse Ruler lists optimal sparse rulers, and it shows that the one for 11 marks (including the end points of the ruler) is unique:




It has length $X=43$ and the marks are at $0, 1, 3, 6, 13, 20, 27, 34, 38, 42, 43$


II.I..I......I......I......I......I...I...II
01234567890123456789012345678901234567890123



The middle sections are all of length $7$, so it is fairly easy to verify that all lengths are measurable.





share|improve this answer
















  • 1




    to be honest, i did not know the answer! thanks :)
    – Oray
    Aug 18 at 9:24










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "559"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f69964%2fcreate-your-own-custom-ruler%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
7
down vote



accepted










A ruler with just a few marks is called a "sparse ruler". Such a ruler of length $X$ that can measure all lengths from $1$ to $X$ is called a "complete sparse ruler". It is called optimal if it can't be done with fewer marks and there is no complete ruler with the same number of marks which is longer.



The Wikipedia page for Sparse Ruler lists optimal sparse rulers, and it shows that the one for 11 marks (including the end points of the ruler) is unique:




It has length $X=43$ and the marks are at $0, 1, 3, 6, 13, 20, 27, 34, 38, 42, 43$


II.I..I......I......I......I......I...I...II
01234567890123456789012345678901234567890123



The middle sections are all of length $7$, so it is fairly easy to verify that all lengths are measurable.





share|improve this answer
















  • 1




    to be honest, i did not know the answer! thanks :)
    – Oray
    Aug 18 at 9:24














up vote
7
down vote



accepted










A ruler with just a few marks is called a "sparse ruler". Such a ruler of length $X$ that can measure all lengths from $1$ to $X$ is called a "complete sparse ruler". It is called optimal if it can't be done with fewer marks and there is no complete ruler with the same number of marks which is longer.



The Wikipedia page for Sparse Ruler lists optimal sparse rulers, and it shows that the one for 11 marks (including the end points of the ruler) is unique:




It has length $X=43$ and the marks are at $0, 1, 3, 6, 13, 20, 27, 34, 38, 42, 43$


II.I..I......I......I......I......I...I...II
01234567890123456789012345678901234567890123



The middle sections are all of length $7$, so it is fairly easy to verify that all lengths are measurable.





share|improve this answer
















  • 1




    to be honest, i did not know the answer! thanks :)
    – Oray
    Aug 18 at 9:24












up vote
7
down vote



accepted







up vote
7
down vote



accepted






A ruler with just a few marks is called a "sparse ruler". Such a ruler of length $X$ that can measure all lengths from $1$ to $X$ is called a "complete sparse ruler". It is called optimal if it can't be done with fewer marks and there is no complete ruler with the same number of marks which is longer.



The Wikipedia page for Sparse Ruler lists optimal sparse rulers, and it shows that the one for 11 marks (including the end points of the ruler) is unique:




It has length $X=43$ and the marks are at $0, 1, 3, 6, 13, 20, 27, 34, 38, 42, 43$


II.I..I......I......I......I......I...I...II
01234567890123456789012345678901234567890123



The middle sections are all of length $7$, so it is fairly easy to verify that all lengths are measurable.





share|improve this answer












A ruler with just a few marks is called a "sparse ruler". Such a ruler of length $X$ that can measure all lengths from $1$ to $X$ is called a "complete sparse ruler". It is called optimal if it can't be done with fewer marks and there is no complete ruler with the same number of marks which is longer.



The Wikipedia page for Sparse Ruler lists optimal sparse rulers, and it shows that the one for 11 marks (including the end points of the ruler) is unique:




It has length $X=43$ and the marks are at $0, 1, 3, 6, 13, 20, 27, 34, 38, 42, 43$


II.I..I......I......I......I......I...I...II
01234567890123456789012345678901234567890123



The middle sections are all of length $7$, so it is fairly easy to verify that all lengths are measurable.






share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 18 at 8:52









Jaap Scherphuis

12.4k12155




12.4k12155







  • 1




    to be honest, i did not know the answer! thanks :)
    – Oray
    Aug 18 at 9:24












  • 1




    to be honest, i did not know the answer! thanks :)
    – Oray
    Aug 18 at 9:24







1




1




to be honest, i did not know the answer! thanks :)
– Oray
Aug 18 at 9:24




to be honest, i did not know the answer! thanks :)
– Oray
Aug 18 at 9:24

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f69964%2fcreate-your-own-custom-ruler%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

Long meetings (6-7 hours a day): Being “babysat” by supervisor

Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

Confectionery