Solved

# Recursive order pairs

Posted on 2011-10-19
157 Views
The following recursive definition defines a set Z or ordered pairs

B. (2,4) is in Z.
R1. If(x,y) is in Z with x < 10 and y <10, then (x+1, y+1) is in Z.
R2. If(x,y) is in Z with x > 1 and y < 10, then(x-1, y+1) is in Z.

Plot these ordered pairs in the xy-plane

--------------------------------
I just did first line

B. (2,4) belongs to Z
0
Question by:mustish1

LVL 13

Expert Comment

And what's stopping you from doing the next lines?  2 is less than 10 and greater than 1, and 4 is less than ten, so you have a couple obvious points right there, and another three in the generation after that, and so on.
0

LVL 26

Expert Comment

I think you will wind up with 21 points.
0

LVL 37

Accepted Solution

Draw a quick grid (I did it in Excel, but paper works fine). Mark point 2,4 and then look at the rules and keep marking all the points that fit and see what you get.

I only got 19 points, by the way.
0

## Featured Post

### Suggested Solutions

Tips on building some plugins or small utility apps 3 54
Linear algebra 3 44
Math question 3 35
Triangles - computing angles 6 25
Whether you believe the “gig economy,” as it has been dubbed, is the next big economic paradigm shift (https://www.theguardian.com/commentisfree/2015/jul/26/will-we-get-by-gig-economy) or an overstated trend (http://www.wsj.com/articles/proof-of-a-g…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.
Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…