find the 4 digit number

by hemangsarkar, Sep 5, 2012, 5:32 PM

Q) a $4$ digit number, when multiplied by $4$ reverses its digits. for example $pqrs$ becomes $srqp$. find the number.


my (very long) solution :
let the number be $1000p + 100q + 10r + s$

then we have $4(1000p + 100q + 10r + s) = 1000s + 100r + 10q + p$ $ \dots (1)$

it is simple to notice that since $4$ divides the left hand side, $p$ must be even. but $p$ is the first digit of a $4$ digit number which when multiplied by $4$ gives another $4$ digit number. hence $p = 2$.
note that this holds since the number we want must be $ < 2500$.

plugging this value of $p$ in $(1)$, we get -
$1333 = 10r + 166s - 65q$
so this means that $s$ is
$ \equiv 3(\mod5)$.
so $s$ may be $3$ or $8$.
clearly $s$ is the first digit of number greater than $4000$, so $s$ must be $8$.

now we have $1 + 13q = 2r$

now since $10q + p$ is divisible by $4$,
and $p = 2$, we must have $q = 1,3,5,7,9$.
by some hit and trial $r = 7$ at $q = 1$


so the number is $2178$.
This post has been edited 2 times. Last edited by hemangsarkar, Sep 5, 2012, 5:36 PM

Comment

0 Comments

Archives
Shouts
Submit
  • I like shouting :lol:

    by boywholived, Sep 8, 2012, 12:02 PM

  • cool :lol:

    by subham1729, Sep 7, 2012, 6:44 AM

  • Awesome man !

    by Pheonix, Sep 6, 2012, 5:09 PM

3 shouts
Tags
About Owner
  • Posts: 791
  • Joined: Aug 4, 2011
Blog Stats
  • Blog created: Aug 12, 2011
  • Total entries: 69
  • Total visits: 15563
  • Total comments: 9
Search Blog
a