Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
random numbers
#9
Binary Sequence Predictor "game"?  (Read 10252 times)

https://qb64forum.alephc.xyz/index.php?t...#msg140722

My favorite circle string "1 goto 1"

  1 m = INT(RND*a)+1: IF ABS(d(i)-d(m)) < .1*a THEN v = v+1: GOTO 1

Controlled what all numbers is on new places

plus minus diapazon from original place

+ Shuffling Letters
https://qb64forum.alephc.xyz/index.php?topic=3982

Program above outputs repeats and the numbers -1 and 0
But even excluding -1 and 0, do we repetitions? There are

Code: (Select All)
For i = 1 To TopN ' results of shuffle
    Print "  "; i;
    If i = n(i) Then Print "=!!!";: rep = rep + 1 Else Print "-";:
    Print n(i) - 0; Chr$(9);
Next: Print: Print rep
End

So it's always worse than I have 0 repetitions
Write name of program in 1st line to copy & paste & save filename.bas
Insert program pictures: press print-screen-shot button
Open paint & Paste & Save as PNG
Add picture file to program topic

Russia looks world from future. Big data is peace data.
I never recommend anything & always write only about myself
Reply


Messages In This Thread
random numbers - by badger - 11-06-2024, 11:15 PM
RE: random numbers - by Dav - 11-06-2024, 11:30 PM
RE: random numbers - by badger - 11-06-2024, 11:42 PM
RE: random numbers - by Dav - 11-06-2024, 11:51 PM
RE: random numbers - by Kernelpanic - 11-07-2024, 05:24 PM
RE: random numbers - by bplus - 11-07-2024, 05:52 PM
RE: random numbers - by bplus - 11-07-2024, 07:03 PM
RE: random numbers - by bplus - 11-07-2024, 07:10 PM
RE: random numbers - by DANILIN - 11-08-2024, 02:22 AM



Users browsing this thread: 7 Guest(s)