Help in this past acm arab ragional problem

Revision en1, by MokaMoka, 2015-12-17 19:56:32

Any hints to solve this problem ?

http://a2oj.com/p.jsp?ID=11

I tried to get the least common multiple (lcm) of the increasing factors of these two sequences but there was a bug which is that the starting points are not always equal

Any help please?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English MokaMoka 2015-12-17 19:56:32 301 Initial revision (published)