Hm.

2 * 48 * 6 * 6^61 = 1.6890743110126207388309943185817e+50

6^64 = 6.3340286662973277706162286946812e+49

Subtracting the former from the latter is -1.0556714443828879617693714491129e+50?

What I think I have:

Take one row; ignoring the vertical component for the moment, at each iteration:

  1. the first cell has a choice of 6;
  2. the second also has a choice of 6;
  3. the third cell has:
    • a choice of 6

      unless the two preceding cells are the same, which happens 6/36 times

    • when it has a choice of 5

    for an average choice of 5.8333

  4. This figure is true for the other five cells in the row.

Giving ( 6 * 6 * 5.833333333^6 ) ^ 8 = 2.220030530726145590197494583735e+47

However, for the 3rd and subsequent rows, the choice at each position is further constrained by the existing values for the previous two cells in the column.

For the first two columns, 30/36 the choice will be 6; 6/36 it will be 5 giving the familiar 5.8333 average. But for the 3rd and subsequent columns, it gets messy.

I thought that it might be :

28.1944 / 5.8333^2 choice is 6; 5.83333 / 5.8333^2 choice is 5; giving an average of: 5.82857142

For each of the 6x6 cells in the bottom right.

For an overall calculation of:

( 6**2 * 5.833333333333333333333333333333**6 )**2 *

( ( 5.833333333333333333333333333333**2 * 5.8285714285714285714285714285714**6 )**6 )

= 1.13460446277538e+049

But that doesn't make sense because it is bigger than the previous result constrained in only one direction :(.

In either case, it is far to big a number to actually iterate.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy

In reply to Re^2: Pattern enumeration. by BrowserUk
in thread Pattern enumeration. by BrowserUk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.