Way Too Many Points on The Line

Logic Level 2

Is there a set of natural numbers such that every natural number (except zero) appears as the (absolute) difference of exactly one pair of them?

Also try: A Harder version of the Problem

No Yes

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

The set of all natural numbers {1,2,3,4.......}

@Agnishom Chattopadhyay ,is it correct?

A Former Brilliant Member - 9 months, 3 weeks ago

The set { 1 , 2 , 4 , 8 , . . . } \{1,2,4,8,...\} is a possible solution. Indeed, for each n > = 0 n>=0 2 n = 2 n + 1 2 n 2^n = 2^{n+1} - 2^n .

Which pair gives a difference of 5 5 ?

Brian Moehring - 2 years, 9 months ago

Log in to reply

Indeed, I misunderstood the problem. I understood it as follows : is there a set of natural numbers such that each number in the set is the difference of exactly one pair of them ?

Matthieu Courbaize - 2 years, 9 months ago

Log in to reply

So any ideas on how to form the desired set of natural numbers?

Brian Charlesworth - 2 years, 9 months ago

Log in to reply

@Brian Charlesworth I can’t find a simple formula, but I figured a repeatable construction method :

1 - choose any starting number m m (this is the first number of the set)

2 - find the smallest difference s s that is still not managed with the actual set

3 - add s s to the largest number of the set M M , that gives M M’ (don’t remove M M from the set)

4 - add M M’ to the set

5 - update the list of the differences you have managed with this new number M M’ (pair it with all the other numbers in the set)

6 - repeat step 2 to 6

I will later write a python script that follows this algorithm.

Matthieu Courbaize - 2 years, 9 months ago

Log in to reply

@Matthieu Courbaize Ok, great. That's the same method I was considering, but I wasn't sure if that was what Agnishom had in mind as a proof.

Brian Charlesworth - 2 years, 9 months ago

Log in to reply

@Brian Charlesworth That is exactly what I had in mind. Maybe you can post this as a solution?

Agnishom Chattopadhyay - 2 years, 8 months ago

Log in to reply

@Agnishom Chattopadhyay Actually it doesn’t work either, here are the first numbers of the set starting with 0 : { 0 , 1 , 3 , 7 , 12 , 20 , 30 , 44 , 59 , 75 , . . . } \{0,1,3,7,12,20,30,44,59,75,...\}

The difference of 29 is done twice : by 30 1 30-1 and by 59 30 59-30 ...

Matthieu Courbaize - 2 years, 8 months ago

Log in to reply

@Matthieu Courbaize Okay, this is interesting. Maybe I have not really thought this through. This puzzle seems quiet interesting nonetheless.

Agnishom Chattopadhyay - 2 years, 8 months ago

I was excited to see such a direct solution. But alas, this does not work.

Agnishom Chattopadhyay - 2 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...