Re: Mathematical function for Smiling Jack the Anarch



On 29 sep, 05:33, bwross <bwr...@xxxxxxxx> wrote:
On Sep 28, 9:56 pm, devilwithcape

<devil_in_the_pale_moon_li...@xxxxxxxxx> wrote:
The function is:

f(x) = x[ (x+1)/2 ]

where x equals the counters on Jack.

Yep, that's the sum of integers from 1 to x.  The sequence is also
referred to as triangular numbers, because they count the number of
items arranged as a triangle
like this:

  *      *       *        *
        * *     * *      * *
               * * *    * * *
                       * * * *

It's a very useful sequence and function to know.  It comes up a lot
in math as well as in games.

There's a story where Carl Friedrich Guass (a famous mathematician in
the first half of the 1800s) was made to calculate the sum of the
integers from 1 to 100 as a punishment as a school kid.  What he did
was consider:

Excuse me Ross...you mean actually Carl Friedrich GAUSS, the famous
mathematician who invented the archifamous gaussian copula, which is
the cornerstone of continuous stochastic variables distributions....
under others.


.



Relevant Pages

  • Re: * says: Definition: sum{i in N} i = 0
    ... "Divergent series" means: ... is the sum of its terms, ... underlying infinite sequence _if_ the limit exists. ... Euler has literally written is not proved true. ...
    (sci.math)
  • Re: Synthesis of Concurrent Statements for FIR Filter
    ... the convolution in VHDL. ... and -1's and convolved with the impulse sequence 'h'. ... into sum AND THEN put the 'sum' result into 'y'. ... What you have written contains 0 multipliers, 15 x 2-1 muxes, no ...
    (comp.lang.vhdl)
  • Re: * says: Definition: sum{i in N} i = 0
    ... "Divergent series" means: ... is the sum of its terms, then you get the result that a divergent ... that the infinite sequence of naturals is divergent in N. ... _you_ impute that Euler literally has written. ...
    (sci.math)
  • Re: Tea cups and elephants
    ... the sum "in the limit" can be written as something ... infinite number of terms "in the limit". ... called the sequence of partial sums. ... that's an optical illusion. ...
    (sci.math)
  • Re: Minimum steps
    ... the parity of any number reachable in k moves is equal to ... that of the kth triangular number (because any sequence of k moves ...
    (rec.puzzles)