The Raspberry Pi 5 is now also available with 16 GB RAM, in addition to the versions with 2, 4 or 8 GB. However, the surcharge is somewhat high.
50x50 example could not be solved with 16 gigabytes of RAM because it stores all the numbers of all cases in each row and column. 40x40 example used almost 9 gigabytes of RAM.
Today’s memory sticks have hundreds of pins and many gigabytes of RAM on board ... but he’s now ramped up to building 16 MB RAM sticks — the largest size supported by the 30-pin standard.