ans is n=6, m=36;
m= n + (n*7/6 + (n-1)) + ((n*7/6 + (n-1))*7/6 + n-2) +......
now n must be a multiple of 6. taking n=6, we get the answer m= 36

On Mar 16, 3:27 pm, "may.I.answer" <may.i.answ...@gmail.com> wrote:
> In a sports contest there were m medals awarded on n successive days
> (n > 1).
>    1. On the first day 1 medal and 1/7 of the remaining m - 1 medals
> were
>        awarded.
>    2. On the second day 2 medals and 1/7 of the now remaining medals
> was
>        awarded; and so on.
> 3. On the nth and last day, the remaining n medals were awarded.
>
> How many days did the contest last, and how many medals were awarded
> altogether?

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to