• @How many squares on a go board.

    From 1999yinzewei@gmail.com@21:1/5 to All on Mon Jul 15 22:58:16 2019
    I calalate it with java.
    public static void main(String[] args) {
    int tmp1 = 0, tmp2 = 0, sum = 0;
    for (int i = 1; i <= 18; i++) {
    // X-axis j from 1 to I
    // Y axis Z from 1 to I
    // calculate of two transient values of x-axis y-axis
    for (int j = 1; j < i; j++) {
    tmp1 = 18 / j;
    for (int z = 1; z < i; z++) {
    tmp2 = 18 / z;
    sum += tmp1 * tmp2;
    }
    }
    }
    System.out.println("sum:" + sum);

    }
    ---------------------------------------
    And the answer is 36535

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rainer Rosenthal@21:1/5 to All on Tue Jul 16 16:17:37 2019
    Am 16.07.2019 um 07:58 schrieb 1999yinzewei@gmail.com:

    ---------------------------------------
    And the answer is 36535

    The correct answer is 0.

    Hint: look closely at your board!
    In case you bought it in a normal shop you won't find one single square.
    But in case you made it yourself or it was home-made by a friend then
    there might be many of them.

    Well, I was wrong ... This is what sensei's library has for this
    question: 42. (Famous answer :-) ) https://senseis.xmp.net/?HowManySquaresOnAGoBoard

    Cheers,
    Rainer

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Rohde@21:1/5 to All on Wed Jul 17 05:17:54 2019
    Am Dienstag, 16. Juli 2019 16:17:42 UTC+2 schrieb Rainer Rosenthal:

    […]
    In case you bought it in a normal shop you won't find one single square.

    What about Chinese boards? I always thought they used square grids … was I mistaken all the time?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rainer Rosenthal@21:1/5 to All on Wed Jul 17 14:58:21 2019
    Am 17.07.2019 um 14:57 schrieb Rainer Rosenthal:
    Am 17.07.2019 um 14:17 schrieb Thomas Rohde:
    Am Dienstag, 16. Juli 2019 16:17:42 UTC+2 schrieb Rainer Rosenthal:

    […]
    In case you bought it in a normal shop you won't find one single square.

    What about Chinese boards? I always thought they used square grids …
    was I mistaken all the time?

    Well, the use weiqi boards, right?
    :-)

    *they

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rainer Rosenthal@21:1/5 to All on Wed Jul 17 14:57:07 2019
    Am 17.07.2019 um 14:17 schrieb Thomas Rohde:
    Am Dienstag, 16. Juli 2019 16:17:42 UTC+2 schrieb Rainer Rosenthal:

    […]
    In case you bought it in a normal shop you won't find one single square.

    What about Chinese boards? I always thought they used square grids … was I mistaken all the time?

    Well, the use weiqi boards, right?
    :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)