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.)
A Start | Comment 1 of 4
I can get there with 9 presses. Steps are formatted as (Button, Display Value, Memory Value):

(+, 2, 0)
(x, 8, 0)
(+, 10, 0)
(x, 1000, 0)
(M+, 1000, 1000)
(M+, 1000, 2000)
(MR, 2000, 2000)
(+, 2002, 2000)
(+, 2004, 2000)

  Posted by H M on 2023-03-31 08:01:44
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 (3)
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