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

Home > Just Math
Broken Calculator II (Posted on 2013-07-31) Difficulty: 2 of 5
A broken calculator has only the keys:
+(addition), -(subtraction), /(division), x(multiplication), =(equals)
It is a simple calculator that can do one binary operation at a time.
The only functional digit is 7.

How is it possible for 34 to appear in the readout in the fewest number of keystrokes?

Notes:

1. Performing as many operations as possible is allowed.

2. The digit 7 may be reused, that is expressions like 777x77 or, 7777+7 in a given operation is allowed.

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
re: possible way - spoiler Comment 3 of 3 |
(In reply to possible way - spoiler by Ady TZIDON)

"It is a simple calculator that can do one binary operation at a time."

Given the above statement, the broken calculator would require the equal key pressed for each binary operation. Assuming that the initial default value in memory is zero and is not counted as one of the two operands in the operation -7/7, the number of keystrokes required for your proffered expression, with the appropriate equals keystrokes, would be 20: -7/7 = +7 = +7 = +7 = +7 = +7 =.


  Posted by Dej Mar on 2013-07-31 12:33:42

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 (11)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

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