A MOP EXPRESSION is way of producing a number using only multiplications,ones and pluses. The length of a mop the number...
A MOP EXPRESSION is way of producing a number using only multiplications,ones and pluses.
The length of a mop the number of ones it contains .
for example 22 = 1+1+((1+1+1+1)x(1+1+1+1+1)) which has length 11
another mop of 22 is 1+((1+1+1)x(1+((1+1)x(1+1+1))))which has length 10
There are no shorter mops for 22.
Can anyone help me to write a program which inputs an integer n(1<n<10000) and prints the length of the shortest mop of n
13 years ago
999999.99
Answer(0)
Bids(0)
other Questions(10)
- algebra with financial application
- What is the log book in one flew over the cuckoos nest
- Using the arc elasticity formula, and holding all else equal, estimate the impact on sales of a rise in disposable...
- stem cells are valuable for medical research because they? correct abnormal expression of in deseased cells, replace malfunctioning cellular organelles seek out...
- parent function is f(x)=root*x y=f(x+4)-2
- x-y=3 7x+6y=-99
- STATISTICAL LITERACY: How do I write the formula for the standard error of the sample proportion ^p distribution, based on...
- PLEASE SEE ATTACHED!! Computer Network - Telecommunications
- Hi, Please answer these 6 questions for me in short answers.Thank you! 1.Name and briefly explain the three primary forces that...
- In 2006 rental car companies often charged more to rent a compact car than an SUV or a luxury vehicle....