|
|
back to boardShow all messages Hide all messageswell the way i thought is simply calculate the number and see but before using numbers i used long's and calculated it %10000 and that was enough i used the writing in binar of the number n to calculate it in logn yes...no need for crazy calculations...just check out the answers for some numbers and u'll see how easy this problem is.. I don't think it is eas to find the period. display the situation of n: 1- 100 ? 1 - 30 is enough actually |
|
|