A RMI question
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Albert_Leng
Posted On:   Tuesday, May 14, 2002 05:34 AM

I try to write a distributed program using Java RMI technology to generate first 1000 numbers in the (sorted) sequence of numbers described below: a)1 is in the sequence b) If number X is in the sequence then so are the numbers 3*X, 5*X and 7*X c) No number appears more than once in the sequence, and d)No other number is in the sequence. Thus, first few numbers in the sequence are: 1,3,5,7,9,15,21,25,27,35,45,49,63,75,81,105... Can anyone give me any idea on how to do this program? I'm sorry to write so long. If you are unclear, please inform me and i'll try to explain what the problem is. Thanks! Please use html tags to format code blocks.    More>>
			

I try to write a distributed program using Java RMI technology to generate first 1000 numbers in the (sorted) sequence of numbers described below:
a)1 is in the sequence
b) If number X is in the sequence then so are the numbers 3*X, 5*X and 7*X
c) No number appears more than once in the sequence, and
d)No other number is in the sequence.
Thus, first few numbers in the sequence are:
1,3,5,7,9,15,21,25,27,35,45,49,63,75,81,105...


Can anyone give me any idea on how to do this program? I'm sorry to write so long. If you are unclear, please inform me and i'll try to explain what the problem is. Thanks!


Please use html tags to format code blocks.

   <<Less
About | Sitemap | Contact