It is currently 16 Dec 2019, 06:10

The Lottery Forum - Lottery Generators
• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

The lottery forum section of gimplearn.net will be here for historical purposes, as we have
created a brand new stand-alone forum at https://gimplearn.net/thelotteryforum/.
Please try to register and post there instead

TLF Topics: Active | Unanswered | Random
TLF Posts: Unread | New | Random
Lottery Forum
     Lottery/General Program Requests | Lottery Generators |🡆 Lottery CodeSkulptor Programs
     General Programs
     Chit Chat
Social:  Say Hello | Anything Goes | Shares

Digit Study (CS program)

Lottery Programs coded in CodeSkulptor
Forum rules
This forum is now locked.
Please visit The Lottery Forum (New)
Locked
tim
GL Blogger

Digit Study (CS program)

Post#1 by tim » 17 Mar 2019, 16:26


Requested by homer in Digit Study request
You can access CS program here --> Digit Study CS Program

See post #2 for revised version (added after original author added more info).
See post #3 for v3 shows type skips by X's.

You can just paste a pick-3s draw result (possibly from Lottery Historical Data Parser) into program.
It'll print out 10 columns classifying which type the number belongs to.
You can then study the gaps (blank spaces) in between classification to further decide your numbers to play.

CS code for reference:

Code: Select all

# Digits Study found on lotterypost.com 
#     https://www.lotterypost.com/thread/325945
# Requested by homer on gimplearn.net 
#     https://gimplearn.net/viewtopic.php?f=34&t=2232&p=24582#p24572

# To get past pick3 data that you can easily paste into this
# program you can use the below instructions
#  https://gimplearn.net/viewtopic.php?f=39&t=2233#p24581

# Program specs:
# SP - Sequential Pair
# SO - Sequential Odd
# SE - Sequential Even
# NO - Non-sequential Odd
# NE - Non-sequential Even includes All Even
# look through each for each digit and specify on 
#      it's own column

data = input("Enter your past results for pick-3s (space separating draws):")
data = data.replace("-","")
data = data.split(" ")
print ("draw   0  1  2  3  4  5  6  7  8  9") 
for line in data:
    s = line + " -"
    for i in range(0,10):
        if str(i) in line: #found classify it
            if (int(line[1])+10-int(line[0]))%10==1 and (int(line[2])==i):
                type = "SP"
            elif (int(line[1])+10-int(line[0]))%10==1 or \
                (int(line[2])+10-int(line[1]))%10==1:
                if (int(line[0]) + int(line[1]) + int(line[2])) % 2 == 0:
                    type = "SE"
                else:
                    type = "SO"
            else:
                if (int(line[0]) + int(line[1]) + int(line[2])) % 2 == 0:
                    type = "NE"
                else:
                    type = "NO"
            type = str(i) + type        
        else:
            type = "   "
        s += type
    print (s)
            
Sample data output result (from Florida Pick-3 results):

Code: Select all

draw   0  1  2  3  4  5  6  7  8  9
260 -0NE   2NE         6NE         
942 -      2NO   4NO            9NO
269 -      2NO         6NO      9NO
638 -         3NO      6NO   8NO   
189 -   1SE                  8SE9SE
217 -   1NE2NE            7NE      
653 -         3NE   5NE6NE         
472 -      2NO   4NO      7NO      
463 -         3NO4NO   6NO         
976 -                  6NE7NE   9NE
994 -            4NE            9NE
409 -0NO         4NO            9NO
462 -      2NE   4NE   6NE         
253 -      2NE3NE   5NE            
623 -      2SO3SO      6SO         
158 -   1NE         5NE      8NE   
032 -0NO   2NO3NO                  
112 -   1SE2SE                     
007 -0NO                  7NO      
696 -                  6NO      9NO
504 -0NO         4NO5NO            
582 -      2NO      5NO      8NO   
319 -   1NO   3NO               9NO
781 -   1SP               7SE8SE   
126 -   1SO2SO         6SP         
979 -                     7NO   9NO
728 -      2NO            7NO8NO   
852 -      2NO      5NO      8NO   
214 -   1NO2NO   4NO               
999 -                           9NO
679 -                  6SE7SE   9SP
831 -   1NE   3NE            8NE   
318 -   1NE   3NE            8NE   
535 -         3NO   5NO            
714 -   1NE      4NE      7NE      
564 -            4SP5SO6SO         
860 -0NE               6NE   8NE   
974 -            4NE      7NE   9NE
842 -      2NE   4NE         8NE   
884 -            4NE         8NE   
225 -      2NO      5NO            
735 -         3NO   5NO   7NO      
485 -            4NO5NO      8NO   
841 -   1NO      4NO         8NO   
785 -               5SP   7SE8SE   
137 -   1NO   3NO         7NO      
251 -   1NE2NE      5NE            
008 -0NE                     8NE   
029 -0NO   2NO                  9NO
507 -0NE            5NE   7NE      
916 -   1NE            6NE      9NE
218 -   1NO2NO               8NO   
454 -            4SP5SO            
765 -               5NE6NE7NE      
696 -                  6NO      9NO
245 -      2SO   4SO5SO            
028 -0NE   2NE               8NE   
470 -0NO         4NO      7NO      
881 -   1NO                  8NO   
679 -                  6SE7SE   9SP
551 -   1NO         5NO            
775 -               5NO   7NO      
694 -            4NO   6NO      9NO
322 -      2NO3NO                  
790 -0SE                  7SE   9SE
102 -0NO1NO2NO                     
596 -               5NE6NE      9NE
174 -   1NE      4NE      7NE      
606 -0NE               6NE         
523 -      2SE3SE   5SE            
421 -   1NO2NO   4NO               
552 -      2NE      5NE            
915 -   1NO         5NO         9NO
081 -0NO1NO                  8NO   
378 -         3SE         7SE8SE   
449 -            4NO            9NO
549 -            4NE5NE         9NE
789 -                     7SE8SE9SP
673 -         3SP      6SE7SE      
277 -      2NE            7NE      
148 -   1NO      4NO         8NO   
207 -0NO   2NO            7NO      
668 -                  6NE   8NE   
299 -      2NE                  9NE
735 -         3NO   5NO   7NO      
143 -   1NE   3NE4NE               
813 -   1NE   3NE            8NE   
970 -0NE                  7NE   9NE
222 -      2NE                     
988 -                        8NO9NO
552 -      2NE      5NE            
959 -               5NO         9NO
701 -0SE1SE               7SE      
903 -0SE      3SP               9SE
918 -   1NE                  8NE9NE
190 -0SE1SE                     9SE
709 -0NE                  7NE   9NE
307 -0NE      3NE         7NE      
557 -               5NO   7NO      
040 -0NE         4NE               
002 -0NE   2NE                     
817 -   1NE               7NE8NE   
570 -0NE            5NE   7NE      
179 -   1NO               7NO   9NO
238 -      2SO3SO            8SP   
985 -               5NE      8NE9NE
593 -         3NO   5NO         9NO
295 -      2NE      5NE         9NE
106 -0NO1NO            6NO         
117 -   1NO               7NO      
907 -0SE                  7SP   9SE
590 -0SE            5SE         9SE
573 -         3NO   5NO   7NO      
522 -      2NO      5NO            
932 -      2NE3NE               9NE
909 -0SE                        9SP
136 -   1NE   3NE      6NE         
164 -   1NO      4NO   6NO         
115 -   1NO         5NO            
806 -0NE               6NE   8NE   
830 -0NO      3NO            8NO   
371 -   1NO   3NO         7NO      
076 -0NO               6NO7NO      
790 -0SE                  7SE   9SE
992 -      2NE                  9NE
637 -         3NE      6NE7NE      
553 -         3NO   5NO            
792 -      2NE            7NE   9NE
003 -0NO      3NO                  
120 -0SP1SO2SO                     
241 -   1NO2NO   4NO               
537 -         3NO   5NO   7NO      
711 -   1NO               7NO      
806 -0NE               6NE   8NE   
451 -   1SP      4SE5SE            
781 -   1SP               7SE8SE   
774 -            4NE      7NE      
428 -      2NE   4NE         8NE   
844 -            4NE         8NE   
318 -   1NE   3NE            8NE   
696 -                  6NO      9NO
185 -   1NE         5NE      8NE   
217 -   1NE2NE            7NE      
361 -   1NE   3NE      6NE         
443 -         3NO4NO               
101 -0SE1SE                        
918 -   1NE                  8NE9NE
695 -               5NE6NE      9NE
121 -   1SP2SE                     
829 -      2NO               8NO9NO
151 -   1NO         5NO            
720 -0NO   2NO            7NO      
594 -            4NE5NE         9NE
612 -   1SO2SO         6SO         
211 -   1NE2NE                     
767 -                  6SE7SE      
771 -   1NO               7NO      
963 -         3NE      6NE      9NE
987 -                     7NE8NE9NE
221 -   1NO2NO                     
143 -   1NE   3NE4NE               
877 -                     7NE8NE   
015 -0SE1SE         5SP            
782 -      2SP            7SO8SO   
036 -0NO      3NO      6NO         
241 -   1NO2NO   4NO               
367 -         3SE      6SE7SE      
184 -   1NO      4NO         8NO   
359 -         3NO   5NO         9NO
418 -   1NO      4NO         8NO   
705 -0NE            5NE   7NE      
440 -0NE         4NE               
677 -                  6SE7SP      
699 -                  6NE      9NE
903 -0SE      3SP               9SE
489 -            4SO         8SO9SO
279 -      2NE            7NE   9NE
835 -         3NE   5NE      8NE   
113 -   1NO   3NO                  
349 -         3SE4SE            9SP
389 -         3SE            8SE9SE
661 -   1NO            6NO         
015 -0SE1SE         5SP            
235 -      2SE3SE   5SP            
754 -            4NE5NE   7NE      
713 -   1NO   3NO         7NO      
990 -0SE                        9SE
661 -   1NO            6NO         
744 -            4NO      7NO      
336 -         3NE      6NE         
722 -      2NO            7NO      
251 -   1NE2NE      5NE            
125 -   1SE2SE      5SP            
630 -0NO      3NO      6NO         
019 -0SE1SE                     9SP
179 -   1NO               7NO   9NO
828 -      2NE               8NE   
704 -0NO         4NO      7NO      
216 -   1NO2NO         6NO         
255 -      2NE      5NE            
502 -0NO   2NO      5NO            
143 -   1NE   3NE4NE               
668 -                  6NE   8NE   
615 -   1NE         5NE6NE         
038 -0NO      3NO            8NO   
744 -            4NO      7NO      
677 -                  6SE7SP      
202 -0NE   2NE                     
023 -0SO   2SO3SO                  
789 -                     7SE8SE9SP
558 -               5NE      8NE   
779 -                     7NO   9NO
749 -            4NE      7NE   9NE
189 -   1SE                  8SE9SE
559 -               5NO         9NO
306 -0NO      3NO      6NO         
636 -         3NO      6NO         
854 -            4NO5NO      8NO   
517 -   1NO         5NO   7NO      
458 -            4SO5SO      8SP   
583 -         3NE   5NE      8NE   
906 -0SO               6SP      9SO
854 -            4NO5NO      8NO   
918 -   1NE                  8NE9NE
422 -      2NE   4NE               
758 -               5NE   7NE8NE   
520 -0NO   2NO      5NO            
038 -0NO      3NO            8NO   
391 -   1NO   3NO               9NO
200 -0NE   2NE                     
638 -         3NO      6NO   8NO   
408 -0NE         4NE         8NE   
215 -   1NE2NE      5NE            
455 -            4SE5SP            
047 -0NO         4NO      7NO      
133 -   1NO   3NO                  
418 -   1NO      4NO         8NO   
679 -                  6SE7SE   9SP
540 -0NO         4NO5NO            
800 -0NE                     8NE   
994 -            4NE            9NE
703 -0NE      3NE         7NE      
424 -      2NE   4NE               
651 -   1NE         5NE6NE         
528 -      2NO      5NO      8NO   
620 -0NE   2NE         6NE         
174 -   1NE      4NE      7NE      
068 -0NE               6NE   8NE   
568 -               5SO6SO   8SP   
427 -      2NO   4NO      7NO      
061 -0NO1NO            6NO         
503 -0NE      3NE   5NE            
489 -            4SO         8SO9SO
918 -   1NE                  8NE9NE
331 -   1NO   3NO                  
920 -0NO   2NO                  9NO
223 -      2SO3SO                  
792 -      2NE            7NE   9NE
409 -0NO         4NO            9NO
085 -0NO            5NO      8NO   
292 -      2NO                  9NO
962 -      2NO         6NO      9NO
707 -0NE                  7NE      
155 -   1NO         5NO            
414 -   1NO      4NO               
056 -0SO            5SO6SO         
311 -   1NO   3NO                  
432 -      2NO3NO4NO               
695 -               5NE6NE      9NE
679 -                  6SE7SE   9SP
352 -      2NE3NE   5NE            
084 -0NE         4NE         8NE   
553 -         3NO   5NO            
214 -   1NO2NO   4NO               
516 -   1NE         5NE6NE         
154 -   1NE      4NE5NE            
534 -         3SE4SE5SE            
207 -0NO   2NO            7NO      
649 -            4NO   6NO      9NO
487 -            4NO      7NO8NO   
818 -   1NO                  8NO   
886 -                  6NE   8NE   
900 -0SP                        9SO
763 -         3NE      6NE7NE      
781 -   1SP               7SE8SE   
306 -0NO      3NO      6NO         
166 -   1NO            6NO         
759 -               5NO   7NO   9NO
881 -   1NO                  8NO   
628 -      2NE         6NE   8NE   
274 -      2NO   4NO      7NO      
596 -               5NE6NE      9NE
857 -               5NE   7NE8NE   
135 -   1NO   3NO   5NO            
398 -         3NE            8NE9NE
855 -               5NE      8NE   
053 -0NE      3NE   5NE            
119 -   1NO                     9NO
220 -0NE   2NE                     
008 -0NE                     8NE   
786 -                  6SP7SO8SO   
816 -   1NO            6NO   8NO   
924 -      2NO   4NO            9NO
762 -      2NO         6NO7NO      
525 -      2NE      5NE            
543 -         3NE4NE5NE            
647 -            4NO   6NO7NO      
586 -               5NO6NO   8NO   
954 -            4NE5NE         9NE
261 -   1NO2NO         6NO         
916 -   1NE            6NE      9NE
277 -      2NE            7NE      
465 -            4NO5NO6NO         
837 -         3NE         7NE8NE   
481 -   1NO      4NO         8NO   
723 -      2SE3SE         7SE      
298 -      2NO               8NO9NO
304 -0NO      3NO4NO               
737 -         3NO         7NO      
292 -      2NO                  9NO
169 -   1NE            6NE      9NE
534 -         3SE4SE5SE            
667 -                  6SO7SO      
378 -         3SE         7SE8SE   
768 -                  6NO7NO8NO   
798 -                     7NE8NE9NE
919 -   1NO                     9NO
124 -   1SO2SO   4SP               
462 -      2NE   4NE   6NE         
877 -                     7NE8NE   
660 -0NE               6NE         
951 -   1NO         5NO         9NO
943 -         3NE4NE            9NE
291 -   1NE2NE                  9NE
853 -         3NE   5NE      8NE   
250 -0NO   2NO      5NO            
301 -0SE1SE   3SE                  
104 -0NO1NO      4NO               
362 -      2NO3NO      6NO         
906 -0SO               6SP      9SO
273 -      2NE3NE         7NE      
787 -                     7SP8SE   
203 -0NO   2NO3NO                  
479 -            4NE      7NE   9NE
221 -   1NO2NO                     
746 -            4NO   6NO7NO      
929 -      2NE                  9NE
190 -0SE1SE                     9SE
382 -      2NO3NO            8NO   
788 -                     7SO8SP   
341 -   1SP   3SE4SE               
614 -   1NO      4NO   6NO         
035 -0NE      3NE   5NE            
569 -               5SE6SE      9SP
964 -            4NO   6NO      9NO
503 -0NE      3NE   5NE            
945 -            4SE5SE         9SE
301 -0SE1SE   3SE                  
053 -0NE      3NE   5NE            
039 -0NE      3NE               9NE
514 -   1NE      4NE5NE            
440 -0NE         4NE               
454 -            4SP5SO            
508 -0NO            5NO      8NO   
229 -      2NO                  9NO
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

tim
GL Blogger

Post#2 by tim » 18 Mar 2019, 13:57


You can access Digit Study CS Program (v2)
This version only prints out a line if it has the tracking digit and list verbal type of S P Even/Odd, S Even/Odd, N S Even/Odd according to the original author's description.

Code for reference:

Code: Select all

# Digits Study found on lotterypost.com (version 2 only show tracking types if digit is present)
#     https://www.lotterypost.com/thread/325945
# Requested by homer on gimplearn.net 
#     https://gimplearn.net/viewtopic.php?f=34&t=2232&p=24582#p24572

# To get past pick3 data that you can easily paste into this
# program you can use the below instructions
#  https://gimplearn.net/viewtopic.php?f=39&t=2233#p24581

# Program specs:
# SP - Sequential Pair (more definition added wrap-around counts as SP as well)
# SO - Sequential Odd
# SE - Sequential Even
# NO - Non-sequential Odd
# NE - Non-sequential Even includes All Even
# look through each for each digit and specify on 
#      it's own column

data = input("Enter your past results for pick-3s (space separating draws):")
track = input("Enter single digit to track (0-9):")
print ("Tracking Digit:",track)
data = data.replace("-","")
data = data.split(" ")
for line in data:
    s = line + " "
    if track in line: #found classify it
        if ((int(line[1])+10-int(line[0]))%10==1 and (int(line[2])==int(track))) or \
            ((int(line[2])+10-int(line[0]))%10==1 and (int(line[1])==int(track))) or \
            ((int(line[2])+10-int(line[1]))%10==1 and (int(line[0])==int(track))) or \
            ((int(line[0])+10-int(line[2]))%10==1 and (int(line[1])==int(track))):
            type = "S P "
        elif (int(line[1])+10-int(line[0]))%10==1 or \
            (int(line[2])+10-int(line[1]))%10==1:
            type = "S "
        else:
            type = "N S "
        
        if (int(line[0]) + int(line[1]) + int(line[2])) % 2 == 0:
            type += "Even"
        else:
            type += "Odd"        
        s += type
        print (s)
            
Sample data output result:

Code: Select all

Tracking Digit: 7
721 N S Even
317 N S Odd
675 S P Even
978 S P Even
476 N S Odd
467 S Odd
476 N S Odd
794 N S Even
807 N S Odd
976 N S Even
079 S P Even
397 N S Odd
784 S Odd
579 N S Odd
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

tim
GL Blogger

Post#3 by tim » 18 Mar 2019, 14:15


You can access version 3 here --> Digit Study CS Program v3

This version marks each type in a column with X so it's easy to visualize which type is being skipped.


Sample data output result:

Code: Select all

Tracking Digit: 7
721 N S Even     X
317 N S Odd       X
675 S P Even X
978 S P Even X
476 N S Odd       X
467 S   Odd     X
476 N S Odd       X
794 N S Even     X
807 N S Odd       X
976 N S Even     X
079 S P Even X
397 N S Odd       X
784 S   Odd     X
579 N S Odd       X

aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0


TLF Topics: Active | Unanswered | Random
TLF Posts: Unread | New | Random
Lottery Forum
     Lottery/General Program Requests | Lottery Generators |🡆 Lottery CodeSkulptor Programs
     General Programs
     Chit Chat
Social:  Say Hello | Anything Goes | Shares

Locked
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest