Forum Guidelines

This forum is for finished source code that is working properly. If you have questions about this or any other source code, please post it in one of the Discussion Forums, not here.
See more
See less

Benford's law. Playing with prime numbers.

  • Filter
  • Time
  • Show
Clear All
new posts

  • PBWin Benford's law. Playing with prime numbers.

    This program was intended to play and experiment the behaviour of prime numbers according to the premises of Benford's Law.
    It is not my intention to discuss the veracity of the aforementioned law, it is only an entertainment.

    Perhaps the GeneratePrimes procedure can be useful to those who are interested in how to generate prime numbers in a fairly fast way.
    The origin of this procedure is from the year 2003 and I don't remember where I got the information from. I have used it several times over the years and it has always been very useful to me.
    In this program the list of prime numbers obtained is saved in a file in text format.

    For more details on the aforementioned law, see: and others internet places.

    Click image for larger version

Name:	Benford3.jpg
Views:	128
Size:	125.5 KB
ID:	808357

    See source and executable in: