Prime and Multiple Numbers Count

Prime and Multiple Numbers Count

Postby Joe » Sat Nov 08, 2008 4:19 pm

Hi, I uploaded new Filter "Prime and Multiple Numbers Count", give a try and Good luck to you, thanks
Joe
 
Posts: 1227
Joined: Mon Sep 18, 2006 6:51 pm
Location: Petaling Jaya, Malaysia

how to use it

Postby kookoo » Sat Nov 08, 2008 11:30 pm

[quote=Joe]
Hi, I uploaded new Filter "Prime and Multiple Numbers Count", give a try and Good luck to you, thanks
[/quote]


Hi Joe, any information on how to apply this filter?

Kookoo
kookoo
 
Posts: 75
Joined: Sat May 24, 2008 1:45 am

Postby Joe » Sun Nov 09, 2008 4:17 am

[quote=kookoo]any information on how to apply this filter?[/quote] its simply counting the Prime numbers and multiples. for example for the combination 7,21,23,27,48,49,

we can count the Prime and multiples of numbers, like

Prime numbers are 7, 23, (2 numbers)
and multiples of 3 are 21,27,48 (3 numbers)
and multiples of 4 is 48 (1 number)
and multiples of 6 is 48, (1 number)
multiples of 7 are 7,21,49 (3 numbers),
multiples of 8 is 48 (1 number),
and multiples of 9 is 27 (1 number),

Hope you got it now, thanks
Joe
 
Posts: 1227
Joined: Mon Sep 18, 2006 6:51 pm
Location: Petaling Jaya, Malaysia

Postby Jerzy » Sun Nov 09, 2008 4:24 am

Multiples of 3 are the numbers divisible by 3, and so on. Thinking of numbers being divisible might be easier than thinking of numbers as the multiples.
Jerzy
 
Posts: 811
Joined: Mon Sep 18, 2006 5:26 am

Postby Joe » Sun Nov 09, 2008 4:26 am

[quote=Jerzy]Multiples of 3 are the numbers divisible by 3, and so on. Thinking of numbers being divisible might be easier than thinking of numbers as the multiples.[/quote]hmm, thanks jerzy
Joe
 
Posts: 1227
Joined: Mon Sep 18, 2006 6:51 pm
Location: Petaling Jaya, Malaysia

Postby Jerzy » Mon Nov 10, 2008 3:58 am

Joe,

Your Prime Numbers and Multiples filter is very useful. If you use safe settings it will remove a small or moderate number of combination but it will be the most reliable part of your strategy. If you use more decisive settings it will remove proportionally more tickets.

Could you expand this filter to include the multiples of, or the numbers exactly divisible by 10, 11, 12, 13, 14, 15 and 16?

The effectivenes of this filter with the multiples of 15 or 16 will be lower, but the filter will still work with games that use 42 - 49 numbers.

If you cannot add this to the existing filter you can implement an additional filter.
Jerzy
 
Posts: 811
Joined: Mon Sep 18, 2006 5:26 am

Postby Joe » Mon Nov 10, 2008 4:04 am

[quote=Jerzy]
Could you expand this filter to include the multiples of, or the numbers exactly divisible by 10, 11, 12, 13, 14, 15 and 16?

The effectivenes of this filter with the multiples of 15 or 16 will be lower, but the filter will still work with games that use 42 - 49 numbers.

If you cannot add this to the existing filter you can implement an additional filter.
[/quote]
its possible jerzy, I will add these changes in this filter alone, no need to have extra filter for this, thanks,
Joe
 
Posts: 1227
Joined: Mon Sep 18, 2006 6:51 pm
Location: Petaling Jaya, Malaysia

Postby Jerzy » Mon Nov 10, 2008 4:54 am

Joe,

You have implemented Prime Numbers Count filter. I find it very useful. Could you please implement in the same way the filter, or filters, for other special numbers groups as well.

For example:

Abundant Numbers: 12, 18, 20 24, 30, 36, 40, 42, 48
Centered Octagonal Numbers: 01, 09, 25, 49
Centered Square Numbers: 01, 05, 13, 25, 41
Centered Triangular Numbers: 01, 04, 10, 19, 31, 46
Fibonacci Numbers: 01, 02, 03, 05, 08, 13, 21, 34
Happy Numbers: 01, 07, 10, 13, 19, 23, 28, 31, 32, 44, 49
Heptagonal Numbers: 01, 07, 18, 34
Hexagonal Numbers: 01, 06 15, 28, 45
Lucas Numbers: 01, 03, 04, 07, 11, 18, 29, 47
Lucky Numbers: 01, 03, 07, 09, 13, 15, 21, 25, 31, 33, 37, 43, 49
Octagonal Numbers: 01, 08, 21, 40
Octahedral Numbers: 01, 06, 19, 44
Palindromic Numbers: 01, 02, 03, 04, 05, 06, 07, 08, 09, 11, 22, 33, 44 (as a separate option, you can use palindromic numbers 11, 22, 33, 44 only, in addition to all palindromic numbers in the range of 49 number lotto).
Pentagonal Numbers: 01, 05, 12, 22, 35
Powerful Numbers: 01, 04, 08, 09, 16, 25, 27, 32, 36, 49
Primary Numbers: 02, 03, 05, 07, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47 (they are special numbers, and I include them in my list even though the filter for them has been implemented).
Pronic Numbers: 02, 06, 12, 20, 30, 42
Squared Numbers: 01, 04 09, 16, 25, 36, 49
Tetrahedral Numbers: 01, 04, 10, 20, 35
Triangular Numbers: 01, 03, 06, 10, 15, 21, 28, 36, 45
Trimorphic Numbers: 01, 04, 05, 06, 09, 24, 25, 49

These number groups have distinct mathematical patterns. Most importantly, if there are only 4 or 5 of these special numbers in the group, all of them almost never appear at the same time in a six number randomly drawn lotto combination, and if there are more than 6 of them they almost never occupy all 6 positions in the combination.
Jerzy
 
Posts: 811
Joined: Mon Sep 18, 2006 5:26 am

Postby Joe » Mon Nov 10, 2008 5:23 am

hmm, i wll add one by one, and what you mean by Happy Numbers and Lucky Numbers?
Joe
 
Posts: 1227
Joined: Mon Sep 18, 2006 6:51 pm
Location: Petaling Jaya, Malaysia

Postby daniel » Mon Nov 10, 2008 5:47 am

[quote=Joe:1226153957]
Hi, I uploaded new Filter "Prime and Multiple Numbers Count", give a try and Good luck to you, thanks
[/quote]

Hi Joe,
The Prime Number filter has to be set one number higher when the first digit is 1, otherwise it is correct. i.e.:

1,19,22,29,30, 37-- requires prime number filter to be set to 4 max and min instead of 3 max and min, which is the correct number of prime numbers.

If the first digit is not 1, the filter setting required agrees with the actual number of prime numbers.
daniel
daniel
 
Posts: 158
Joined: Sun Jul 31, 2005 11:31 pm

Postby Joe » Mon Nov 10, 2008 5:49 am

in your example, there only 3 prime numbers, 19,29,37. and 1 is not a prime number, I hope its working fine, thanks
Joe
 
Posts: 1227
Joined: Mon Sep 18, 2006 6:51 pm
Location: Petaling Jaya, Malaysia

Postby daniel » Mon Nov 10, 2008 6:11 am

[quote=Joe]
in your example, there only 3 prime numbers, 19,29,37. and 1 is not a prime number, I hope its working fine, thanks
[/quote]

No, that's the problem. You should set the filter to max and min 3. But when the combination starts with 1, the filter has to be set to max and min 4 to pass the combination which is not correct. :wand:
daniel
 
Posts: 158
Joined: Sun Jul 31, 2005 11:31 pm

Postby Joe » Mon Nov 10, 2008 6:20 am

ok hope I understand, for combination 1,2,3,4,5,6, there are 3 prime numbers, but when I set 3 its filtered out but working when I set min & max 4, I must change this to set, Am I right Daniel?,
Joe
 
Posts: 1227
Joined: Mon Sep 18, 2006 6:51 pm
Location: Petaling Jaya, Malaysia

Postby daniel » Mon Nov 10, 2008 6:57 am

[quote=Joe]
ok hope I understand, for combination 1,2,3,4,5,6, there are 3 prime numbers, but when I set 3 its filtered out but working when I set min & max 4, I must change this to set, Am I right Daniel?,
[/quote]

Recent NZ Lotto Numbers

Prime Numbers Actual Filter Setting Required
1,19,22,29,30,37 3 -----error ------> 4

6,14,15,18,23,37 2 2

1,6,15,19,22,39 1 ---- error -----> 2

2,5,16,22,31,40 3 3

4,8,17,24,27,35 1 1

8,10,11,26,32,39 1 1

Hi Joe,
Notice the error when the first number is a "1"

daniel
daniel
 
Posts: 158
Joined: Sun Jul 31, 2005 11:31 pm

Postby Joe » Mon Nov 10, 2008 7:00 am

Daniel, how can i include 1 as a prime number as 1 is not prime number,?,
Joe
 
Posts: 1227
Joined: Mon Sep 18, 2006 6:51 pm
Location: Petaling Jaya, Malaysia

Next

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 4 guests

cron