MathCastle
Number TheoryMediumDivisibility

Divisibility · Medium problem

Dividing an integer bb by 1111 gives quotient q=−7q = -7 and remainder r=9r = 9. What is bb?