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

Home > Numbers
682 (Posted on 2012-04-13) Difficulty: 2 of 5

Given this 3 x 3 matrix:
define a simple procedure with the minimal number of operations resulting in the value of 682.

See The Solution Submitted by brianjn    
Rating: 4.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
solution | Comment 4 of 12 |

you could say that my solution is quite vectorious :-)

let V1 be the row vector {11,0,0}
let V2 be the column vector {31,0,0}
let M be the 3x3 matrix of all 2's
then V1.M.V2 = 682
in fact, if you let V1 = {1,0,0} and V2={N/2,0,0} then
V1.M.V2 = N and thus you can get any result you want in just two multiplications.  Of course, one could argue how to count the operations in this solution.  Is it 2 matrix/vector multiplications, or do you count how many numerical multiplications and additions are needed to complete the calculation?

  Posted by Daniel on 2012-04-14 16:38:04
Please log in:
Remember me:
Sign up! | Forgot password

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

Copyright © 2002 - 2019 by Animus Pactum Consulting. All rights reserved. Privacy Information