What is the Distribution of Primes in Relation to Important Numbers?

  • Context: Graduate 
  • Thread starter Thread starter greeniguana00
  • Start date Start date
  • Tags Tags
    Distribution Primes
Click For Summary

Discussion Overview

The discussion revolves around the distribution of prime numbers in relation to what the original poster refers to as "important numbers," which are defined based on their frequency of occurrence in a generated grid. The conversation explores potential patterns and relationships between these important numbers and primes, as well as the implications of having many factors.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • The original poster describes a program that identifies "important numbers" based on their frequency in a grid of products, suggesting these numbers may have a higher likelihood of being adjacent to primes.
  • Some participants question the significance of the findings, suggesting that the likelihood of encountering primes may not be substantial enough to warrant further investigation.
  • One participant proposes estimating the likelihood of a number being prime and conducting statistical tests to validate the original poster's observations.
  • Another participant notes that if a number has many factors, it cannot divide the previous number, indicating a potential relationship between the number of factors and the distribution of primes.
  • There is acknowledgment that the observations may only apply to small numbers, with a participant admitting to neglecting this limitation in earlier posts.

Areas of Agreement / Disagreement

Participants express differing views on the significance of the relationship between important numbers and primes, with some questioning the likelihood of meaningful patterns while others suggest further statistical analysis. The discussion remains unresolved regarding the implications of these observations.

Contextual Notes

The discussion is limited by the focus on small numbers and the assumptions made about the relationships between factors and primes. There is also a lack of detailed statistical analysis to support or refute the claims made.

greeniguana00
Messages
52
Reaction score
0
I made this simple program to list all non-primes (ignore the first row and column of the output) and list what I call "important numbers". I have attached an output if you don't want to bother running and compiling the program.

Code:
#include <iostream>
#include <fstream>
using namespace std;

int main ()
{
	ofstream output;
	output.open ("output.txt");
	int i;
	int j;
	int n;
	cout<<"Size? ";
	cin>>n;
	int repeat[n*n];
	for (j=1;j<=n;j++) {
		for (i=1;i<=n;i++) {
			output<<i*j<<"\t";
			repeat[i*j]++;
		}
		output<<endl;
	}
	output<<endl<<endl<<endl<<"IMPORTANT NUMBERS:"<<endl;
	for (i=1;i<=(n*n);i++) {
		if (repeat[i]>=6) {
			output<<i<<endl;
		}
	}
	output.close();
	return 0;
}

Anyway, taking a look at the attached text file, I noticed that the "important numbers" (those which occurred 6 or more times in the grid) were more likely than a random number to have a prime before it or after it (at least for small numbers). After a Google search, I found out that a similar definition to my "important numbers" is given to "abundant numbers" and "super-abundant numbers" and "highly abundant numbers" -- that is they are determined by a high number of factors (for example, 12 = 1*12 = 2*6 = 3*4), just in a slightly different way.

I then began to wonder, is there a set of numbers that can be generated using a simple pattern such that every number in that set is one less than or one greater than a prime? Is there another set such that every prime is either one less than or one greater than a number in that set? Well, I haven't gotten far from this point.

I have found the set of numbers defined as: n(x) = 2((x^2)-x); where x is an integer greater than or equal to two, is more likely to have primes before or after its members, but that's about it.
 

Attachments

Mathematics news on Phys.org
Unless it is much more likely then you aren't going to get any rewards.
 
John Creighto said:
Unless it is much more likely then you aren't going to get any rewards.

I know. It's more likely than random, but that's about it.
 
greeniguana00 said:
I know. It's more likely than random, but that's about it.

Try and estimate the likelihood of it bing a prime as well as give your confidence intervals. See what kind of statistical tests you can do to validate or invalidate your theory.
 
If a particular number has a lot of factors, then none of them can divide the previous number.

This effect is only really relevant for "small" numbers. When you start looking at large numbers, there are just to many 'candidate' prime factors.
 
Yeah, I neglected the "at least for small numbers" in my second post.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K