mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2017-07-28, 14:13   #12
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

4,643 Posts
Default

Quote:
Originally Posted by axn View Post
Here are the statistics for the first 20 digits:
[snip]

As you can see, the number of primes just keep going up. So we don't expect there to be any further gaps. This is not a rigorous mathematical proof, of course, but...
Hmm. Proof may be difficult, but it might be possible to estimate the number of patterns, and then the fraction of these patterns that one might expect to be prime. I'm guessing that concatenations of the small ones might account for most of the patterns.

Let's see, there's 1 pattern of all sixes. The number of patterns formed of 6's and 28's is... I don't know. It's obviously greater than the number of integer solutions (x1, x2) to x1 + 2*x2 = d, where d is the number of digits. Use 496 as well, and you're obviously greater than the number of integer solutions (x1, x2, x3) to x1 + 2*x2 + 3*x3 = d.

At any rate, if N = N(d) is the number of d-digit patterns, then you can start with the fraction of d-digit numbers that are prime, approximately 1/(d*ln(10)), which is based on the "assumption of ignorance" about the d-digit numbers you're looking at. Then, multiply by a "knowledge factor" based on the non-divisibility of your candidates by small primes. The candidates are all odd, so you can multiply by 2 right off the bat. You might be able to estimate the fraction of candidates divisible by 3 or 5, and maybe 7, and adjust the 'knowledge factor" accordingly. Then, see if the result is anywhere close to the fraction of digit patterns that are actually prime.
Dr Sardonicus is offline   Reply With Quote
Old 2017-07-28, 14:16   #13
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by davar55 View Post
Really good, and convincing. The number of primes
seems to approximately double for each digit, so
maybe there's a proof possible in there somewhere...
my first thoughts are maybe think about mod 6 and which ones can be in the proper modular remainders mod 6 first. edit: @Sardonicus the number of patterns is related to the number of partitions of d using only the number that represent the lengths of the perfect numbers obviously.

Last fiddled with by science_man_88 on 2017-07-28 at 14:26
science_man_88 is offline   Reply With Quote
Old 2017-07-29, 03:12   #14
axn
 
axn's Avatar
 
Jun 2003

22×3×421 Posts
Default

Quote:
Originally Posted by Dr Sardonicus View Post
Hmm. Proof may be difficult, but it might be possible to estimate the number of patterns,
We can calculate the exact number of patterns without actually generating the patterns. Assuming no odd perfect numbers exist, we know all the perfect numbers < about 22 million digits. So we can calculate the number of patterns with up to 22 million digits. I expect the calculation to take a few minutes.
axn is online now   Reply With Quote
Old 2017-07-29, 13:12   #15
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

4,643 Posts
Default

Quote:
Originally Posted by axn View Post
We can calculate the exact number of patterns without actually generating the patterns. Assuming no odd perfect numbers exist, we know all the perfect numbers < about 22 million digits. So we can calculate the number of patterns with up to 22 million digits. I expect the calculation to take a few minutes.
Yes, I'm sure the calculation is doable. I thought that there might even be a formula for the number of patterns involving concatenations of strings of several given lengths. However, I'm not so hot at combinatorics, and failed to come up with such a formula even for concatenations of a string with 1 character and a string with 2 characters.

The reason I thought of estimation, was to determine in general how many primes with d digits we might reasonably expect to find. If there are N = N(d) patterns, then a first stab at estimating the number of primes is

2*K*N(d)/(d*ln(10))

where the factor 2 is for the +/- 1 (two candidates for each pattern), and K is the "knowledge factor" based on how often the candidates are indivisible by small primes. Since all the candidates are odd (as far as we know), K is at least 2.

If we have a large enough lower bound for N(d), we can say with some confidence that there are likely primes of the required form for all sufficiently large d, even if we can't prove it.
Dr Sardonicus is offline   Reply With Quote
Old 2017-07-29, 13:33   #16
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by Dr Sardonicus View Post
Yes, I'm sure the calculation is doable. I thought that there might even be a formula for the number of patterns involving concatenations of strings of several given lengths. However, I'm not so hot at combinatorics, and failed to come up with such a formula even for concatenations of a string with 1 character and a string with 2 characters.

The reason I thought of estimation, was to determine in general how many primes with d digits we might reasonably expect to find. If there are N = N(d) patterns, then a first stab at estimating the number of primes is

2*K*N(d)/(d*ln(10))

where the factor 2 is for the +/- 1 (two candidates for each pattern), and K is the "knowledge factor" based on how often the candidates are indivisible by small primes. Since all the candidates are odd (as far as we know), K is at least 2.

If we have a large enough lower bound for N(d), we can say with some confidence that there are likely primes of the required form for all sufficiently large d, even if we can't prove it.
as order is important it's permutations, not combinations. in fact it's restricted compositions
science_man_88 is offline   Reply With Quote
Old 2017-07-29, 18:51   #17
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

4,861 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
as order is important it's permutations, not combinations. in fact it's restricted compositions
Your reading comprehension could use some help. He said combinatorics, not combinations. You've been reading the good Dr's posts for a few months now; surely you could have reached the conclusion by now that you and I are unlikely to have corrections to make to the math content of his posts!
Your link even has combinatorics in parens....
VBCurtis is offline   Reply With Quote
Old 2017-07-29, 19:32   #18
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

250516 Posts
Default

"Isn't he a bit like you and me"
A true Socratic theory, that.
Batalov is offline   Reply With Quote
Old 2017-07-30, 08:43   #19
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

32×5×107 Posts
Default

Quote:
Originally Posted by Batalov View Post
"Isn't he a bit like you and me"
A true Socratic theory, that.
No, that sentence leads you nowhere, man...
ET_ is offline   Reply With Quote
Old 2017-07-30, 13:03   #20
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

110438 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
Your reading comprehension could use some help. He said combinatorics, not combinations. You've been reading the good Dr's posts for a few months now; surely you could have reached the conclusion by now that you and I are unlikely to have corrections to make to the math content of his posts!
Your link even has combinatorics in parens....
Lucky for me, "combinatorics" is what I meant. I say "lucky" because, while I'm often able to to avoid mathematical errors, I am very prone to make typing mistakes. My posts have been littered with these.

As an indication of how bad my typing skills are, I offer the following anecdote based on alternative facts: I tried using a typing training program, but one day it stopped, displayed a message that it was awarding me the Black Belt in typographical errors, and, with a wail of despair, removed itself from my system.
Dr Sardonicus is offline   Reply With Quote
Old 2017-07-30, 15:59   #21
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

Quote:
Originally Posted by Dr Sardonicus View Post
... I am very prone to make typing mistakes. My posts have been littered with these.
Oh, in the world of modern computerized devices, it gets even worse. The program you are using to type will attempt to "correct" what you typed into what 90%+ of people type. The trouble with this is that what 90%+ of people type is absolute garbage, but computer assumes that you are one of those people and "corrects" a rare word into some banality.

Don't even get me started on typing on genomics-related messages at work. Every other word is rare and the email message becomes totally garbled. One can never type a message and hit "Send". Oh no. That would be too productive. One has to re-read and revert most spellings (and that is even with updating the local dictionary; when spell-checking: "add to dictionary", not "ignore / ignore rule"). Bleh-bleh-bleh. And even when you hit "send" the message, you are not sure that it will be received; the hospital server will silently quarantine it (and you will only get a summary message after the day is over) - because some combination of letters looked to yet another computer program like a PHI violation.
Batalov is offline   Reply With Quote
Old 2017-08-02, 17:01   #22
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

7×1,373 Posts
Default

Haha, this reminds me of Ellen...
LaurV is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mersenne Primes p which are in a set of twin primes is finite? carpetpool Miscellaneous Math 3 2017-08-10 13:47
Distribution of Mersenne primes before and after couples of primes found emily Math 34 2017-07-16 18:44
Primes Concatenated davar55 Puzzles 7 2015-01-19 18:42
A conjecture about Mersenne primes and non-primes Unregistered Information & Answers 0 2011-01-31 15:41
possible primes (real primes & poss.prime products) troels munkner Miscellaneous Math 4 2006-06-02 08:35

All times are UTC. The time now is 03:50.


Sat Jul 17 03:50:17 UTC 2021 up 50 days, 1:37, 1 user, load averages: 1.64, 1.76, 1.67

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.