All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
She missed an operator (Posted on 2019-02-06) Difficulty: 3 of 5
Doing her homework Jane evaluated xy as a concatenation of two 3-digit numbers instead of a product x*y, thus obtaining a result n times bigger than the correct one.

Knowing that n is an integer find all possible solutions fitting the above fact.

See The Solution Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
computer soln | Comment 1 of 2

      143143       20449           7

      167334       55778           3

rabbit-3:~ lord$ more jane.f

        program jane

        implicit none

        integer x,y,xy,xty,n

           do x=100,999

                do y=100,999

                xy=1000*x+y

                xty=x*y

                n=xy/xty

                if(n*xty.eq.xy)print*,xy,xty,n

                enddo

           enddo

end

Edited on February 6, 2019, 8:09 am
  Posted by Steven Lord on 2019-02-06 08:08:55

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (4)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2019 by Animus Pactum Consulting. All rights reserved. Privacy Information