mockers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

from ACM modified first problem:Bansal Sir

Go down

from ACM modified first problem:Bansal Sir Empty from ACM modified first problem:Bansal Sir

Post  ballu Sun Feb 01, 2009 9:32 pm

here is a slight modification of the very first problem on acm icpc archives

a function F such that
F(1)=1
F(n)=n/2 if n is even
F(n)=3(n)+1 if n is odd
this series converges to 1 for all n
given the range of integers from 65 to 125 find the number that converges most rapidly
ballu
ballu

Posts : 58
Join date : 2009-02-01

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum