You are given a 9-digit number $a$. Let $b=a+1$.
Now, if you make a big number $N$ by concatenating $a$ and $b$, then $N$ is divisible by 19.
What is the number $a$?
Puzzling Stack Exchange is a question and answer site for those who create, solve, and study puzzles. It only takes a minute to sign up.
Sign up to join this communityYou are given a 9-digit number $a$. Let $b=a+1$.
Now, if you make a big number $N$ by concatenating $a$ and $b$, then $N$ is divisible by 19.
What is the number $a$?
For any $a<999{,}999{,}999$ we have $b\le 999{,}999{,}999$ which is 9 digits, too, so the $a$ part in the $N$ number is shifted by 9 decimal places. So $$N=10^9\cdot a+(a+1)=(10^9+1)a + 1 = 2{,}631{,}579\cdot 19\cdot a + 1$$ which is NOT divisible by $19$.
Let's try $a=999{,}999{,}999$ then. Hurray! We get $b=1{,}000{,}000{,}000$ and $N=9{,}999{,}999{,}991{,}000{,}000{,}000 = 526{,}315{,}789{,}000{,}000{,}000\cdot 19$
Hence $a=999{,}999{,}999.$
Suppose some number $a \lt 999,999,999$ worked. We would have $10^9a+a+1=(10^9+1)a+1$ is divisible by $19$, but then at least one of $a+19$ and $a-19$ (whichever is still $9$ digits) would work just as well. We are given that $a$ is uniquely determined, so this is impossible. The only possibility is
$a=999,999,999, b=1,000,000,000, N=9,999,999,991,000,000,000$.
If the problem is well posed, this will be divisible by $19$. In fact it is.