Are there infinitely many Ulam numbers?

  • Thread starter pc2-brazil
  • Start date
  • Tags
    Numbers
In summary: But this is a contradiction, because there are an infinite number of primes. Therefore, the assumption that there are only finitely many primes is false.In summary, the proof method suggested to solve the homework problem is flawed because it is not always true that, for n Ulam numbers, un-1+un will be an Ulam number.
  • #1
pc2-brazil
205
3
Good evening,

I was self-studying Discrete Mathematics from a book and found the following problem:

Homework Statement


We define the Ulam numbers by setting u1 = 1 and u2 = 2. Furthermore, after determining whether the integers less than n are Ulam numbers, we set n equal to the next Ulam number if it can be written uniquely as the sum of two different Ulam numbers. Note that u3 = 3, u4 = 4, u5 = 6, and u6 = 8. Prove that there are infinitely many Ulam numbers.

2. The attempt at a solution

I imagine that I have to show that, if there are n Ulam numbers, for example, there is always an un+1. To show this, I have to show somehow that there will always be two numbers among these n numbers whose sum is unique and greater than un. If it were the case that un is the greatest Ulam number, it would mean that no sum between two of the numbers is unique and greater than un. I had no clue on how to continue, so I searched on the Internet and found the following proof method:

Assume that there are only finitely many Ulam numbers. Let the two largest Ulam numbers be un-1 and un. Then the integer un-1 + un is an Ulam number larger than un. It is the unique sum of two Ulam numbers, since it is the largest sum between two of the n Ulam numbers.

While trying to understand this proof, I found that there seems to be something wrong, because it is not always true that, for n Ulam numbers, un-1 + un will be an Ulam number. For example, consider the n Ulam numbers with n = 3: 1, 2, 3. The sum 3 + 2 = 5 is not an Ulam number, because 4 is an Ulam number and 4 + 1 = 5.

Thank you in advance.
 
Physics news on Phys.org
  • #2
I never heard if Ulam numbers before this post, so I'm no expert. But I agree with your analysis that the argument posed is flawed, for what it's worth.
 
  • #3
If un-1+un is not an Ulam number that means there was another Ulam number between un and un-1+un - which means un was not the largest Ulam number. That means if you think you know all, there is in fact at least one larger, so there are infinitely many.

Unless I am completely off.
 
  • #4
Borek said:
If un-1+un is not an Ulam number that means there was another Ulam number between un and un-1+un

How do you know this? I can't see where one can derive that there must've been a Ulam number un+1 such that [itex]u_n<u_{n+1}<u_{n-1}+u_n[/itex]
 
  • #5
The proof works. If un and un-1 are the two greatest Ulam numbers, their sum is greater than the sum of any other two Ulam numbers. Therefore, no sum of two other Ulam numbers is equal to the sum of un and un-1. The concept behind this is that the set does not contain every integer, so even though the sum of two other integers might equal un plus un-1, at least one of those integers cannot be a Ulam number.
 
  • #6
Never heard of Ulam numbers before. Can anyone tell in what context are they useful?
 
  • #7
Mentallic said:
How do you know this? I can't see where one can derive that there must've been a Ulam number un+1 such that [itex]u_n<u_{n+1}<u_{n-1}+u_n[/itex]

un-1+un is not an Ulam number only if there was another Ulam number between un-1+un and un - if there was no other Ulam number, un-1+un is larger than any other sum of Ulam numbers and as such is unique - so it is an Ulam number. If it is not unique, there was an Ulam number between un-1+un, as no other sum of Ulam numbers can be as large as un-1+un is.
 
  • #8
The original proof is correct as it stands:

"Assume that there are only finitely many Ulam numbers. Let the two largest Ulam numbers be un-1 and un. Then the integer un-1 + un is an Ulam number larger than un. It is the unique sum of two Ulam numbers, since it is the largest sum between two of the n Ulam numbers."

We start by assuming that there are only finitely many Ulam numbers and arrive at a contradiction; therefore the assumption is false. You don't need to add anything more.

It is incorrect to conclude, however, that the sum of two successive Ulam numbers is an Ulam number; that doesn't follow. It's only true under the assumption that there are only finitely many Ulam numbers, which we know to be false.

A similar situation arises in the proof (Euclid's, I think) that there are infinitely many primes. Assume the contrary, i.e, there are only finitely many primes. Take their product and add 1. The result can't be divisible by any prime and so must be a larger prime than any in the list of primes, contradicting the assumption. This proves there are infinitely many primes. It is wrong to conclude, however, that the product of the first n primes, plus 1, is always a prime. I leave it to the reader to find a counterexample.
 
  • #9
awkward said:
The original proof is correct as it stands:

"Assume that there are only finitely many Ulam numbers. Let the two largest Ulam numbers be un-1 and un. Then the integer un-1 + un is an Ulam number larger than un. It is the unique sum of two Ulam numbers, since it is the largest sum between two of the n Ulam numbers."

We start by assuming that there are only finitely many Ulam numbers and arrive at a contradiction; therefore the assumption is false. You don't need to add anything more.

After reflecting a bit on this, I agree with you.
 
  • #10
awkward said:
We start by assuming that there are only finitely many Ulam numbers and arrive at a contradiction; therefore the assumption is false. You don't need to add anything more.

It is incorrect to conclude, however, that the sum of two successive Ulam numbers is an Ulam number; that doesn't follow. It's only true under the assumption that there are only finitely many Ulam numbers, which we know to be false.

I'm not sure why it's only true under the assumption that there are only finitely many Ulam numbers. For example, if the list is "1, 2, 3", then the sum of the largest Ulam numbers (2 + 3 = 5) is not an Ulam number, because 3 + 1 = 4 is smaller.
So, I don't see how the uniqueness of the sum of the two largest Ulam numbers in the list means that there must have been a Ulam number between un-1+un and un.

awkward said:
A similar situation arises in the proof (Euclid's, I think) that there are infinitely many primes. Assume the contrary, i.e, there are only finitely many primes. Take their product and add 1. The result can't be divisible by any prime and so must be a larger prime than any in the list of primes, contradicting the assumption. This proves there are infinitely many primes. It is wrong to conclude, however, that the product of the first n primes, plus 1, is always a prime. I leave it to the reader to find a counterexample.

The problem is that, in Euclid's proof, there is the fact any integer greater than 1 must be a product of primes (or powers of primes). Then, the sum of all primes in the list plus 1 must be a product of primes. So, if it is not a prime, it can be assured that it must have in its composition prime numbers that are not in the original list. This assures that there is some non-specified prime greater than the ones on the list.
In the case of Ulam numbers, if un + un-1 is not a prime number, how can I assure that there is still an Ulam number that is greater than un?
 

1. What are Ulam numbers?

Ulam numbers are a sequence of integers that are defined by a specific rule. The first two numbers in the sequence are 1, and from there, each subsequent number is the smallest positive integer that can be expressed as the sum of two distinct previous numbers in only one way.

2. Who discovered Ulam numbers?

The concept of Ulam numbers was first introduced by mathematician Stanislaw Ulam in the 1960s. However, the sequence was later named after him by mathematician John Selfridge.

3. What is the significance of Ulam numbers?

Ulam numbers have been studied in various areas of mathematics, including number theory, combinatorics, and graph theory. They have also been used in cryptography, and have connections to other mathematical concepts such as prime numbers and perfect numbers.

4. Are there any patterns in Ulam numbers?

While there are some patterns that have been observed in Ulam numbers, such as the fact that they are always odd, the sequence is generally considered to be random and unpredictable. This makes it a subject of ongoing research and fascination for mathematicians.

5. How are Ulam numbers related to the Goldbach conjecture?

The Goldbach conjecture states that every even integer greater than 2 can be expressed as the sum of two prime numbers. Ulam numbers can be seen as a generalization of this conjecture, as they involve representing numbers as sums of two distinct previous numbers, rather than just prime numbers. This connection has led to further research on the properties of Ulam numbers and their relationship to prime numbers.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
949
  • Precalculus Mathematics Homework Help
Replies
1
Views
963
  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
12
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
14
Views
3K
Back
Top