... and it's one of those "days" that part 2 is ridiculously easy cf part 1 !!!

Mike

On 15/01/2022 21:15, 'Michael Day' via Programming wrote:
Yes, that's my guess.  I called them p q & r,  and found that p = 1 or 26 as q is positive or negative.

So: having got one machine to run 14 times on different values of p q r and the previous Z, I worked back from Z = 0 output on the 14th machine,  saving which W & Zs gave rise to 0,  then using those Zs on the
13th machine ....

But that gave me potentially a lot of Zs - I haven't counted - so I then worked forward from the first machine finding only 1452 14-ples giving rise to a final zero.  Very messy - I didn't really code it - but it worked!

Haven't got round to part 2 yet.

Mike

On 15/01/2022 18:12, Raul Miller wrote:
Actually, another caution here: it might be that other people's puzzle
inputs used a different block structure from my block structure.

Probably not -- it's probably the case that only my A, B and C values
differed for different people. But .. that's just "probably" because I
haven't looked at other people's puzzle input.

FYI,




--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to