Python Forum
find random numbers that are = to the first 2 number of a list.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
find random numbers that are = to the first 2 number of a list.
#21
read again my previous post. If you don't care about the sequences that don't satisfy the condition, as you just throw them away, you don't need to generate sequences, till you get one that satisfied the condition.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#22
I do care about the condition and the next numbers cause they are link.

Say you have 13 millions possibilities of series of numbers looking 6 numbers on 49 . You want to extract the series where the first 2 numbers are 1 and 2 and list it. Problem it takes too long. List all series will take forever so we must narrow the search. How to do it with 12 ram pc?
Reply
#23
Quote:What i am interested in, is to analyze what subsequent numbers the computer will generate after 1 and 2. But they have to be part of the original serie and not be added afterward.
Why? You have not explained why.
Reply
#24
I am wondering if its possible to use past numbers to predict the next numbers. Is it possible that the Pseudorandom number generator of our computers behave the same as any supercomputer. Of course, computers dont use the same algorithm to generate random numbers.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How do I calculate a ratio from 2 numbers and return an equivalent list of about 1000 Pleiades 8 15,773 Jan-05-2024, 08:30 PM
Last Post: sgrey
  random numbers, randint janeik 2 585 Nov-27-2023, 05:17 PM
Last Post: janeik
  Sample random, unique string pairs from a list without repetitions walterwhite 1 477 Nov-19-2023, 10:07 PM
Last Post: deanhystad
  find the sum of a series of values that equal a number ancorte 1 520 Oct-30-2023, 05:41 AM
Last Post: Gribouillis
  Program to find Mode of a list PythonBoy 6 1,160 Sep-12-2023, 09:31 AM
Last Post: PythonBoy
  Delete strings from a list to create a new only number list Dvdscot 8 1,580 May-01-2023, 09:06 PM
Last Post: deanhystad
  List of random numbers astral_travel 17 2,746 Dec-02-2022, 10:37 PM
Last Post: deanhystad
  Find (each) element from a list in a file tester_V 3 1,248 Nov-15-2022, 08:40 PM
Last Post: tester_V
  Remove numbers from a list menator01 4 1,373 Nov-13-2022, 01:27 AM
Last Post: menator01
  [split] why can't i create a list of numbers (ints) with random.randrange() astral_travel 7 1,556 Oct-23-2022, 11:13 PM
Last Post: Pedroski55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020