User Tools

Site Tools


Sidebar

projects

wcp1 (due 20220824)
ntr0 (due 20220831)
pct1 (bonus; due 20220831)
wcp2 (due 20220831)
dtr0 (due 20220907)
lob0 (due 20220907)
pct2 (due 20220907)
pct3 (bonus; due 20220907)
wcp3 (due 20220907)
wcp4 (due 20220914)
pct4 (due 20220915)
vcc0 (due 20220915)
vcc1 (due 20220921)
wcp5 (due 20220921)
pct5 (bonus; due 20220922)
gfo0 (due 20220928)
vcc2 (due 20220928)
wcp6 (due 20220928)
pct6 (due 20220929)
pct7 (bonus; due 20221005)
sss0 (due 20221005)
wcp7 (due 20221005)
bwp1 (bonus; due 20221019)
pct8 (due 20221019)
wcp8 (due 20221019)
pct9 (bonus; due 20221026)
wcp9 (due 20221026)
sss1 (due 20221028)
pctA (due 20221102)
sss2 (due 20221102)
wcpA (due 20221102)
gfo1 (due 20221103)
pctB (bonus; due 20221109)
wcpB (due 20221109)
fso0 (due 20221110)
pctC (due 20221116)
wcpC (due 20221116)
fso1 (due 20221117)
bwp2 (bonus; due 20221201)
fso2 (due 20221201)
pctD (bonus; due 20221201)
wcpD (bonus; due 20221201)
pctE (bonus; due 20221207)
wcpE (bonus; due 20221207)
gfo2 (due 20221208)
EoCE (due 20221219)
haas:fall2022:c4eng:projects:pctxinfo

pctX tips and tricks

NOTE: This document attempts to be generic to the entire range of pctX projects. Please substitute the particular number in place of X. For example, if working on pct1, for all references of pctX, use pct1 instead.

How to access the puzzle in the public directory

From a lab46 prompt, change to the c4eng public directory, which is in /var/public/fall2019/c4eng/:

lab46:~$ cd /var/public/fall2019/c4eng
lab46:/var/public/fall2019/c4eng$ 

Next, change into the directory of the pertinent pctX project:

lab46:/var/public/fall2019/c4eng$ cd pctX
lab46:/var/public/fall2019/c4eng/pctX$ 

Run ls, you should see a list of directories named after the users in the class. Your username should be among them. Change into that directory:

lab46:/var/public/fall2019/c4eng/pctX$ cd username
lab46:/var/public/fall2019/c4eng/pctX/username$ 

Run ls again, you should see a file named puzzle. Display this using the cat command (which we are using as a text viewer):

lab46:/var/public/fall2019/c4eng/pctX/username$ cat puzzle

How do I create a project folder and the files needed for project submission?

First, log into lab46.

Create the pctX project directory

Again, where 'X' is the number of the current pct project:

lab46:~$ mkdir -p src/c4eng/pctX
lab46:~$ 

Change into the new directory

lab46:~$ cd src/c4eng/pctX
lab46:~/src/c4eng/pctX$ 

Create the key file

Let us assume your puzzle key is

    0    R
    1    B
    2    V
    3    G
    4    P
    5    M
    6    O
    7    L
    8    J
    9    K

You could use nano:

lab46:~/src/c4eng/pctX$ nano pctX.puzzle.key
*and type in RBVGPMOLJK, hit ENTER once, and save/exit*

Create the solution file

Once again, using nano:

lab46:~/src/c4eng/pctX$ nano pctX.puzzle.solution

Submitting

Once you are completed with the puzzle, have the key recorded, and the solution documented, you can submit the project from this same directory:

lab46:~/src/c4eng/pctX$ submit c4eng pctX pctX.puzzle.key pctX.puzzle.solution

Positive (greater than) number certainties

Finding and isolating patterns amongst the operations taking place can make available to us additional paths of pursuit for solving the puzzles.

Now, we know that if the top number is greater than ONE of the values being subtracted from it, does it also reveal anything else?

 X
-Y
==
 Z

Let's say we have, from elsewhere in the puzzle, determined that Z « X, but as yet we have not established any connection between Y and X.

Can we use this to our advantage?

Yes. Take a look at these examples:

 4    4    5    9    7
-3   -1   -3   -2   -3
==   ==   ==   ==   ==
 1    3    2    7    4

As we can see here, in the small sample size of subtractions we've tried, that when the top number is greater than one of the numbers beneath it, BOTH values beneath it are less than the top number.

Now, from this approach we cannot make any determinations about how the two lower numbers relate to each other, but we can use it to fill in some gaps.

So, if we know that Z « X, we can ALSO infer that Y « X (we just don't know how Y relates to Z).

So unless we can find an example that violates this case, we can run with it as a viable approach to take in the letter division puzzles. Tell me: is there a valid combination that violates this?

Less than number certainties

Like the above, but inverted: what if we KNOW that the top number is less than one of the two numbers beneath it? Can we also infer some pattern? Let's see:

 X
-Y
==
 Z

Let's say that we KNOW, from elsewhere in the puzzle, that X « Y. Can we use that to inform us better on how X relates to Z?

Looking at some examples:

10  11  12  13  14
-6  -9  -7  -4  -8
==  ==  ==  ==  ==
 4   2   5   9   6

As we can see in the examples above, if X is less than Y, X ends up ALSO being less than Z.

So unless we can find an example that violates this case, we can run with it as a viable approach to take in the letter division puzzles. Tell me: is there a valid combination that violates this?

Remember: we are dealing with single digit values (with the exception of the top number needing to borrow), so the viable possibilities are limited.

These are fun, can I do more?

Absolutely! My letter division puzzle database can be found here:

Do note, that I have done a few example writeups, which may offer some further insight into strategies used, along with examples of what I am looking for as far as documentation for your solutions.

haas/fall2022/c4eng/projects/pctxinfo.txt · Last modified: 2019/08/24 15:29 by 127.0.0.1