3(***(***)(***))4 NB. Challenge
35831808
3(*****(***)(***))4 NB. Solution
429981696
3((***)(***)***)4 NB. Verify against
429981696
3([: <. 0.5 + * ^ 8:)4 NB. Other expression with same result
429981696
3 (* *^:8 1:) 4 NB. Other expression with same result
429981696
3 (***************) 4 NB. Other expression with same result
429981696
/Erling
On 2014-07-19 12:33, Linda Alvord wrote:
Here is the rule:
You may only insert one verb as many times as you wish anywhere in the
expression to produce the desired result:
3(%%%%)4
3
3(%**%%*%)4
16
Here is the desired result:
3((***)(***)***)4
429981696
Here is the expression you must modify to generate 42981696:
3(***(***)(***))4
35831808
Linda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm