Weird maths problem

A forum where anything goes. Introduce yourselves to other members of the forums, discuss how your name evolves when written out in the Game of Life, or just tell us how you found it. This is the forum for "non-academic" content.
Post Reply
User avatar
Rhombic
Posts: 1072
Joined: June 1st, 2013, 5:41 pm

Weird maths problem

Post by Rhombic » November 8th, 2020, 5:26 am

A friend forwarded me this problem that initially does not seem overly complicated to tackle but I have had a hard time with it and still no solution:

Code: Select all

Sequence A(n) is defined as follows:
with t=1, 
the following is done sequentially from i=1 to i=n:
if t is divisible by i: t+=i
else: t+=n
after the last iteration (i=n), A(n) is defined: A(n)=t

Prove that there exist infinitely many m such that A(m)<A(m-1)
To check initially that this seems like it is the case, I wrote a simple Python script:

Code: Select all

olda=1
n=0
listnumbers=[]
while n<300:
    a=1
    for i in range(n):
        if a%(i+1)==0:
            a+=(i+1)
        else:
            a+=n
    if olda>a:
        listnumbers.append(n)
    print(str(a))
    olda=a
    n+=1
print(listnumbers)
In this script, "listnumbers" is the list that contains all numbers m for which A(m)<A(m-1). As you can see, for the first 300 terms of sequence A, there are many. Running it for the first 3000 terms or so shows no sign of stopping.

I was thinking of trying to prove the opposite by induction (that there is a number Z such that for all m>Z, A(m)>(Am-1)) but it seems very complicated...

Any ideas?
SoL : FreeElectronics : DeadlyEnemies : 6a-ite : Rule X3VI
what is “sesame oil”?

Post Reply