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

Home > Numbers
Faulty Calculator Frolic (Posted on 2023-03-31) Difficulty: 3 of 5

Sean has a faulty calculator such that:

The only keys that do anything on his calculator, with the function they actually perform, are:

- Subtact 1 from the display.
+ Add 2 to the display.
x Cube the display value.
M+ Add the display value to the memory.
M- Subtract the display value from the memory.
MC Clear the memory (but not the display).
MR Recall the memory, replacing the display value.

The display and memory are both zero before you start.

Determine the minimum number of key presses that Sean needs to perform on his calculator to obtain the number 2004.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
8 key presses | Comment 2 of 4 |
Display Memory
start 0 0
+ 2 0
x 8 0
+ 10 0
x 1000 0
+ 1002 0
M+ 1002 1002
M+ 1002 2004
MR 2004
8

  Posted by Larry on 2023-03-31 09:15:51
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


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

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