V
V
Vitaly Pukhov2015-03-17 08:12:12
Mathematics
Vitaly Pukhov, 2015-03-17 08:12:12

How to find any number A with a large number of digits, if it is known that the remainder of dividing this number by B will be equal to C?

In general, the essence of the problem is the question, is there an easy way to find such a number (or several), given that the number of characters should be more than 1000?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2015-03-17
@Neuroware

Add the number C to the number B until you reach the required number of characters in A.

M
Mrrl, 2015-03-17
@Mrl

Yes:
print the number B, then 1000 zeros, then C. Of course, you need to have C < B.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question