News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Number pairs with a remarkable property.

Started by Gunther, June 11, 2022, 09:34:43 AM

Previous topic - Next topic

HSE

Gunther,

Quote from: Gunther on June 13, 2022, 08:22:04 AM
He was born in a hard time. That wasn't easy.
Yes. Here don't was the worst, but not easy at all. My father around that time play football in his town and all colonies around. He always telled us the fear of little boys because members of peronism (current governement) drived in the town with megafones saying "haga patria, mate un judío" (a lot of people now denie that). These little boys always asked shaking what happen to the few "criollos" they trust. It's presumed their fathers don't wanted to alarm them, and don't were saying to much. 

Back in the subjec, I adapted the JJ number pairs code to ML64. Very curious some q have a lot of points and others only few or one!

HSE
Equations in Assembly: SmplMath

Gunther

HSE,

Quote from: HSE on June 13, 2022, 11:21:52 PM
Very curious some q have a lot of points and others only few or one!

Yes, indeed. But not so rare either. Please think only about the distribution of the prime numbers. They grow like wild weeds in the set of natural numbers. Even there
it's difficult to find the regularities.
You have to know the facts before you can distort them.

daydreamer

Quote from: Gunther on June 14, 2022, 09:45:28 AM
HSE,

Quote from: HSE on June 13, 2022, 11:21:52 PM
Very curious some q have a lot of points and others only few or one!

Yes, indeed. But not so rare either. Please think only about the distribution of the prime numbers. They grow like wild weeds in the set of natural numbers. Even there
it's difficult to find the regularities.
but the composites have regularities
when I researched different ways to find Primes, I discovered the old multiplication table from school when I was kid,up to 120+ presented as GIF shows all composites have regularities
so all the gaps between for example between 6*2 and 7*2 = 13 is prime numbers
so I based a prime number checking algo,by MUL x*y loop saving into multiply LUT the composites,zeros left after zeroing it=primes
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

Gunther

Daydreamer,

Quote from: daydreamer on June 14, 2022, 07:18:30 PM
but the composites have regularities
when I researched different ways to find Primes, I discovered the old multiplication table from school when I was kid,up to 120+ presented as GIF shows all composites have regularities
so all the gaps between for example between 6*2 and 7*2 = 13 is prime numbers
so I based a prime number checking algo,by MUL x*y loop saving into multiply LUT the composites,zeros left after zeroing it=primes

well, what can I say? There is one even prime number: the 2. All other prime numbers are odd. There is still an infinite number of them. Each of these prime numbers lies between two even numbers.
But how does that help us? The distance between the prime numbers is not regular - as far as we know. Perhaps the nontrivial zeros of the Riemann zeta function  ζ (s) might help us with this
question, who knows? But so far, there has been no breakthrough in this direction.
You have to know the facts before you can distort them.

daydreamer

Quote from: Gunther on June 15, 2022, 02:17:11 PM
Daydreamer,

Quote from: daydreamer on June 14, 2022, 07:18:30 PM
but the composites have regularities
when I researched different ways to find Primes, I discovered the old multiplication table from school when I was kid,up to 120+ presented as GIF shows all composites have regularities
so all the gaps between for example between 6*2 and 7*2 = 13 is prime numbers
so I based a prime number checking algo,by MUL x*y loop saving into multiply LUT the composites,zeros left after zeroing it=primes

well, what can I say? There is one even prime number: the 2. All other prime numbers are odd. There is still an infinite number of them. Each of these prime numbers lies between two even numbers.
But how does that help us? The distance between the prime numbers is not regular - as far as we know. Perhaps the nontrivial zeros of the Riemann zeta function  ζ (s) might help us with this
question, who knows? But so far, there has been no breakthrough in this direction.
thanks,interesting link :thumbsup:
maybe in another dimension,or a dimension which doesnt have our usual time+3dimensions primes have a pattern?
look like caustics outside a boat
I dont remember if that was riemann_zeta,but there is a probability function of high primes returns probability for it might be a prime
I have SIMD experiment on test primes somewhere on forum,just to test use DIVPS and MULPS instead the usual div loop
whats your approach on prime testing?

the function 1/x in school I thought it might be related to wormhole shape
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

HSE

Gunther,

An additional feature is that maximum number always is less (but close) to (q + 1) ^2.

Eventually alway is q *(q+1), but that must be checked.

Updated in Re: 666, mathematics and Satan

HSE
Equations in Assembly: SmplMath

Gunther

Daydreamer,

Quote from: daydreamer on June 15, 2022, 08:24:30 PM
thanks,interesting link :thumbsup:
thank you. Hopefully it helped you.

Quote from: daydreamer on June 15, 2022, 08:24:30 PM
maybe in another dimension,or a dimension which doesnt have our usual time+3dimensions primes have a pattern?
That's very speculative.

Quote from: daydreamer on June 15, 2022, 08:24:30 PM
I dont remember if that was riemann_zeta,but there is a probability function of high primes returns probability for it might be a prime
Do you mean the Prime number theorem? That' s very closely related to the zeta function.

Quote from: daydreamer on June 15, 2022, 08:24:30 PM
whats your approach on prime testing?
It depends on the upper limit. For small and medium values, I would use a sieve technique (Eratosthenes or Atkin). But at the moment this question doesn't appear for me,
because I am involved in certain astronomical calculations. Prime numbers don't play a role for that.

Quote from: daydreamer on June 15, 2022, 08:24:30 PM
the function 1/x in school I thought it might be related to wormhole shape
Wormholes. I've only seen them in certain movies: Star Trek, Deep Space Nine, Stargate SG-1, Déjà Vu, Contact, Donnie Darko etc. Do you know even one experimental result
for the existence of these theoretical objects?
You have to know the facts before you can distort them.

Gunther

HSE,

Quote from: HSE on June 16, 2022, 12:43:45 AM
An additional feature is that maximum number always is less (but close) to (q + 1) ^2.

Eventually alway is q *(q+1), ...
this is a remarkable phenomenon.

Quote from: HSE on June 16, 2022, 12:43:45 AM
... but that must be checked.
Checking isn't enough. It should be proofed. The question would be: Is that a worthwhile effort?
You have to know the facts before you can distort them.