928 views

1 Answer

2 votes
2 votes

Assuming a1, a2 and a3 are not all same and co-prime with 999, the answer will be 999.

N = 0.a1a2a3a1a2a3.....

1000N = a1a2a3.a1a2a3a1a2a3....

so 999N = a1a2a3

=> N = (a1a2a3)/999

Now either a1a2a3 and 999 are not co-prime, in that case there will be a smaller number than 999 (which can't be determined with the given data)

Or, a1a2aand 999 are co-prime, in which case 999 is the answer.

edited by

Related questions

5 votes
5 votes
5 answers
1
shikharV asked Nov 15, 2015
3,159 views
______ is the number of moves of the smallest disc in Tower of Hanoi implementation where the tower consisting of 17 discs (numbered from 0 to 16)Answer given: $2^{16}$ ...
3 votes
3 votes
1 answer
4
techbrk3 asked Nov 9, 2017
2,011 views
R(A, B) foreign key B refers S.S(A, B) foreign key A refers R. (primary keys are bold)None of the attributes is nullable. R contains 75 tuples and S contains 25 tuples. W...