Let the number be "xyz." That is to say the number is

We know that

Start with the top and work your way down:

Inserting this into the other two expressions gives:

==>

and

==>

Let's look at the new top equation:

Inserting this into the new bottom equation:

<-- Multiply both sides by 4x - 2

So

==>

and

==>

So your number is 697.

-Dan