Jump to content
BrainDen.com - Brain Teasers
  • 0

Next terms of two-dimensional sequences


bonanova
 Share

Question

Suppose I conjure a function f(x,y).

I give you a matrix of f values for x = {0 1 2 3 4 5 6} and y = {1 2 3 4 5 6}.
It looks like this:


x\y| 1 2 3 4 5 6
---+------------------
0 | 3 6 9 12 15 18
1 | 1 4 7 10 13 16
2 | -1 2 5 8 11 14
3 | -3 0 3 6 9 12
4 | -5 -2 1 4 7 10
5 | -7 -4 -1 2 5 8
6 | -9 -6 -3 0 3 6

From the first row you can see that f(0,y) = 3y
From the first column you can see that f(x,1) = 3-2x
From the second column it's clear that f(x,2) = 6-2x, and so forth.

At some point it's evident, and the other values so confirm, that f(x,y) = 3y-2x.

OK that's the idea. A 2-diminsional "what's the next term in this sequence" puzzle.
Only we don't ask the next term, we ask for the simplest function that generates the given terms.

See if this one is too easy (there are plenty of clues in the table):

Same range of values for x and y as above.

x\y| 1 2 3 4 5 6
---+--------------------------
0 | 1 1 1 1 1 1
1 | 0 1 2 3 4 5
2 | -1 0 1 0 -7 -28
3 | -2 -1 0 -17 -118 -513
4 | -3 0 17 0 -399 -2800
5 | -4 7 118 399 0 -7849
6 | -5 28 513 2800 7849 0

What is f(x,y)?

If you like this puzzle type, then let the solver make one, and we'll keep the thread going.

Aligning a table like this is easy: just use Courier font.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Very cool puzzle, I'd love to see more (some harder, but some at this level as well).

The first row really gives the first term away--only y^x could produce 1s across the board at x=0 and non-trivial values after. Then the fact that it's and odd function (or whatever you'd call a multivariable function with rotational symmetry over y=x) gives

f(x,y)=y^x-x^y

Link to comment
Share on other sites

  • 0

Nicely done on mine, googon97. Bonanova, I've solved yours:




Next:

f(x,y)=(x+1)

2 - (y-1)2 + x(y-2)

x\y| 1 2 3 4 5 6
---+---------------------
0 | 4 10 28 82 244 730
1 | 1 7 25 79 241 727
2 | 7 13 31 85 247 733
3 | -5 1 19 73 235 721
4 | 19 25 43 97 259 745
5 |-29 -23 -5 49 211 697
6 | 67 73 91 145 307 793

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...