--- title: "More Games With Random Numbers" type: "article" slug: "more-games-with-random-numbers" url: "http://localhost/article/more-games-with-random-numbers/" markdown_url: "http://localhost/article/more-games-with-random-numbers.md" published_at: "2026-11-23T19:00:46+00:00" modified_at: "2026-11-23T19:00:46+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Another pattern to look for in r random numbers is the relation between adjacent random numbers. There should be no correlation. The plot below shows a plot of this type. Plot of adjacent random numbers 5 PLOT 0,0 10 LET xl=0 20 LET yl=0 30 FOR x=1 TO 255 40 LET y=RND*158 50 LET yd=y-yl…" post_tag: - name: "Full Text" slug: "fulltext" taxonomy: "post_tag" url: "http://localhost/tag/fulltext/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Roald Schrack" slug: "roald-schrack" taxonomy: "indiv" url: "http://localhost/indiv/roald-schrack/" publication_r: id: 35941 title: "CATS Newsletter" type: "periodical" url: "http://localhost/periodical/cats-newsletter/" authors: "R.A. Schrack" volume: "3" issue: "2" issues_articles: - id: 39601 title: "CATS v3 n2" type: "issue" url: "http://localhost/issue/cats-v3-n2/" pages: "12" pubdate: "May 1985" archive_link: false --- # More Games With Random Numbers Another pattern to look for in r random numbers is the relation between adjacent random numbers. There should be no correlation. The plot below shows a plot of this type. [![Plot of adjacent random numbers](http://localhost/wp-content/uploads/2026/11/sinclink-new-v3-n2-may-1985-more-games-with-random-numbers-1-1024x786.png)](http://localhost/wp-content/uploads/2026/11/sinclink-new-v3-n2-may-1985-more-games-with-random-numbers-1.png)Plot of adjacent random numbers ``` 5 PLOT 0,0 10 LET xl=0 20 LET yl=0 30 FOR x=1 TO 255 40 LET y=RND*158 50 LET yd=y-yl 60 LET xd=x-xl 70 DRAW xd,yd 80 LET xl=x 90 LET yl=y 100 NEXT x ``` Making the amplitude smaller keeps it all on the paper and you can see if there is any long term drift. [![Smaller-amplitude plot showing long term drift](http://localhost/wp-content/uploads/2026/11/sinclink-new-v3-n2-may-1985-more-games-with-random-numbers-2-1024x213.png)](http://localhost/wp-content/uploads/2026/11/sinclink-new-v3-n2-may-1985-more-games-with-random-numbers-2.png)Smaller-amplitude plot showing long term drift ``` 5 PLOT 0,80 10 LET xl=0 20 LET yl=0 30 FOR i=1 TO 1000 35 LET x=INT (i/4) 36 PRINT AT 1,1;x 40 LET y=RND*15 50 LET yd=y-yl 60 LET xd=x-xl 70 DRAW xd,yd 80 LET xl=x 90 LET yl=y 100 NEXT i ``` R.A. Schrack