Marcos
Posted on Friday, 17 October, 2003 - 01:57 pm:

What is the minimum n (if it exists), such that given a sequence of distinct naturals (an) (each ai being the product of at most 2 primes and greater than 1) we can be sure that (regardless of the choice of ai's) all sufficiently large integers can be written as
å
ai xi

for some suitably chosen xi's?

Thanks
Marcos
David Loeffler
Posted on Friday, 17 October, 2003 - 03:31 pm:

No matter what n is, we can take all the ai's to have a common factor d > 1, and thus
n
å
i=1 
ai xi

must be a multiple of d. (Conversely, if the ai's are coprime, there exist xi such that
n
å
i=1 
xi ai = 1

, and we can obviously now express all integers by multiplying this through.)

David

Marcos
Posted on Friday, 17 October, 2003 - 09:02 pm:

Thanks,
I noticed the first point shortly after I posted.
For the second point what happens if we restrict ourselves to xi > 0?
David Loeffler
Posted on Friday, 17 October, 2003 - 11:30 pm:

Still works for all sufficiently large integers. Obviously if you can do any integer between 1 and a=min ai, you can do everythin by adding copies of a; this is a finite number of cases, so there is some fixed lower bound -M on all the xi's you are ever going to want to use in representing an arbitrary positive number.

Define
K=M å
ai

. Then for any m > K, we can write m=K+m ' . If
m ' = å
xi ai

then
m= å
(M+xi)ai

and M+xi ³ 0.

Obviously we can sharpen this upper bound a great deal. In case n=2 there is a rather neat formula that gives the size of the largest m that you can't represent in this way; for n > 2 it gets a bit messy as you have various cases according to which subsets of the ai have common factors.

David

Marcos
Posted on Saturday, 18 October, 2003 - 12:15 pm:

Thanks,

I'm not sure I fully understand.

How can we be sure that
m ' = å
xi ai

?

And did you mean "this lower bound" in the last paragraph or am I more confused than I think?

Marcos

David Loeffler
Posted on Saturday, 18 October, 2003 - 06:02 pm:

OK. I'll rephrase that. There exist xi such that
å
xi ai = m '

and xi > -M all i.

And yes, I did mean 'lower bound'!

David

Marcos
Posted on Sunday, 19 October, 2003 - 08:33 am:

Thanks I understand it now (actually it seems my problem was that -M)

Marcos
Marcos
Posted on Sunday, 19 October, 2003 - 08:38 am:

One last thing: Can I have some hints on discovering/deriving the neat formula for the n=2 case?

Marcos
David Loeffler
Posted on Sunday, 19 October, 2003 - 09:53 pm:

trial and error is often a good approach!