Search

ForumsResults 1 - 1 of 1 for quinto. (0.04 seconds)

Pseudo-random numbers from irrational numbers
Here is a Python script that can generate pseudo-random numbers from the decimal expansions of irrational numbers. It uses the 'decimal' module and the 'Decimal' function within the decimal module. The basic idea is to generate long decimal expansions of irrational numbers constructed from roots, exponents, logarithms, etc. Then chop the string into chunks of 3, 4 or 5 for Pick 3, Pick 4, or Quinto. You can play around with the code to customize it to your needs. https://sagecell.sagema
Oct 16, 2022, 9:31 pm - cottoneyedjoe - Mathematics Forum

Page 1 of 1