From Pat Winstanley · 1996-04-06 10:57 · #69243 in DRIVING
In reply to BIO '96 by Chris Lightfoot
Hi Chris, Saturday April 06 1996 13:41, Chris Lightfoot wrote to Jonathan Hunter: CL> Question 1 was to write a program to tell if two numbers CL> were "amicable"; this was defined as meaning they were not CL> equal but the sum of their divisors was the same for each. A CL> separate part required you to find the first pair of such CL> numbers (by programming, as they are up in the low 100's, so CL> you couldn't find 'em manually). Hmmm... a twist on the primes... fairly straightforward after solving the arithmetic though. CL> Question 2 was the "Life" iteration on an 11x11 board; CL> subsidiary questions related to how many different rules CL> gave what result, etc. Oh fun... we just did one of those at college as an exercise in VB... how to get muddled with matrices! CL> Question 3 was "dominoes": you had to write a program that CL> would lay out a set of dominoes on a 6x7 (maybe the wrong CL> number) board; the rules were: CL> No two adjacent numbers, unless they are on the same CL> dominoe, may be equal. CL> The operator can put in the location of a number of CL> "doubles", ie dominoes with CL> both faces having the same number. CL> This is a nasty problem in recursion which I wasn't able to CL> solve :(... I didn't even get close. Now that looks fun (working out the algorithm). :-) I'm not sure I'd solve that either... but I just may have a go for fun... the dimensions would appear the biggest problem... doms can go sideways instead of just in a straight line... hmmm... thinks... hurts... ;^) CL> Anyway, I got through to the next round so I'll report back CL> what that was like.... Well done, and yes please! Pat --- * Origin: Pierless, Wigan, UK. [01942-749012 (cable)] (2:250/107.99)