Sierpinski Spiral: An Intriguing Pattern of Prime Numbers

  • Context: High School 
  • Thread starter Thread starter lokofer
  • Start date Start date
  • Tags Tags
    Prime Spiral
Click For Summary

Discussion Overview

The discussion revolves around the concept of prime number patterns, particularly focusing on the "Sierpinski spiral" and its relation to prime numbers. Participants explore various mathematical representations and visualizations of primes, including the Ulam spiral and attempts to model the distribution of primes through functions.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant inquires about the "Sierpinski spiral" and its connection to prime numbers, expressing uncertainty about the phenomenon.
  • Another participant suggests searching for the "Ulam spiral" as a more accurate term related to prime distributions.
  • Some participants argue that patterns in prime numbers are subjective and depend on individual interpretation.
  • A participant describes their observations of the first 25 prime numbers, proposing a parabolic pattern with periodic irregularities, and shares a mathematical function they graphed to represent this observation.
  • Further attempts to refine the mathematical model are shared, including adjustments to coefficients and integrals to better fit the observed data.
  • Another participant questions the purpose of the proposed function, seeking clarification on its intended representation of prime numbers.
  • Discussion includes attempts to express the observed patterns in polar coordinates and the challenges associated with doing so.
  • Concerns are raised about the representativeness of the first thousand primes and suggestions to focus on larger primes for better insights.
  • One participant references Gauss's formula and the prime number theorem in relation to the convexity of the prime number graph.

Areas of Agreement / Disagreement

Participants express a range of views regarding the nature of prime number patterns, with no consensus on the effectiveness of the proposed mathematical models or the interpretation of the spirals. Multiple competing perspectives on the significance and representation of these patterns remain evident.

Contextual Notes

Participants note limitations in their observations, such as the dependence on the initial set of primes and the challenges in accurately modeling the distribution of primes with the proposed functions.

lokofer
Messages
104
Reaction score
0
Prime "spiral"?..

Sorry i don't know the name of this "Phenomenon" i heard (due to Sierpinski perhaps?) that if you distributed the prime numbers into an square in some manner there was an spiral that..run over all primes or something similar...i think it was called "Sierpinski spiral" or something similar...is there any information?..thanks...:frown: :frown:
 
Physics news on Phys.org
Try searching for "Ulam spiral" or "Prime spiral"
 
Except that it is not a very "good" spiral. Patterns in prime numbers are generally in the eye of the beholder.
 
Out of curiosity I stared at the first 25 Prime numbers...from 2 to 101. They seem to form a parabola with irregularities that repeat periodically...like a sin function going along the lnie of a parabola...

Okay...ok I'm coming up with something. I graphed the following:

y1=Fnint(sin(x),x,0,x)+Fnint(x),x,0,x) and it does look alike. It's too abrupt, it needs a rational coefficient in front but it matches the first points. Looks like I'll be up for a few more hours...:)

Edit1: 0.6 in front does it for first few terms but the raise still catches up too fast. the coefficient needs to have some X in it...

Edit2: I added a [tex]* 0.91^{\frac{2x} {3}}[/tex] at the end of the expression to keep it from increasing so fast...it's still too fast...

Edit3: one thing I'm noticing the "spirals" are bigger and bigger as numbers go up. The SIn function needs a [tex]+x[/tex] maybe?

Did anyone actually try this ever?

Well that's my shot at the prime numbers...

[tex]y=0.91^{\frac{2x} {3}}(\int_{0}^{x} Sin({x}) + \int_{0}^{x} x)[/tex]

It's too slow for primes past the 50s area but...I'm sure someone smarter than me can figure it out...unless soemone already has.
 
Last edited:
Robokapp said:
Well that's my shot at the prime numbers...

[tex]y=0.91^{\frac{2x} {3}}(\int_{0}^{x} Sin({x}) + \int_{0}^{x} x)[/tex]

Whay are you trying to do here? I don't understand at all what this function is supposed to be doing.
 
well...i graphed it as (x, y) values where x goes up by 1. and it looked like a diagonally waving function. So how do you make a sin function go diagonally? you give it some [tex]\int{x}[/tex] so it looks triangular, and then stick a sin(x) or cos(x) to make it wave...and then i just played with it to make it somehow fit the pattern that the plot set for me...

it looks like a sin function wrapped around the y=x line i guess...but I have no clue how to express that in polar equations. It was 6am...I was bored. don't ask.

and the first part...well the "wavings" or "Spirals" were changing regularly, so somehow i had to express that change in them as something with "x" in them...

0.91 raised to some power of x seemed to reduce the increase efficiently...for first 20 or so numbers.
 
Last edited:
Robokapp said:
it looks like a sin function wrapped around the y=x line i guess...but I have no clue how to express that in polar equations. It was 6am...I was bored. don't ask.

That's usually handled with a linear function + a sinusoid (y=x+sin(x), for example).

Robokapp said:
0.91 raised to some power of x seemed to reduce the increase efficiently...for first 20 or so numbers.

The first thouand or so primes aren't particularly representative. Try focusing on the larger ones more.
 
Robokapp said:
well...i graphed it as (x, y) values where x goes up by 1. and it looked like a diagonally waving function.

You mean you were looking at the points (n,p_n) where p_n is the nth prime? like (1,2), (2, 3), (3, 5), (4, 7), etc.??

Your function from before [tex]y=0.91^{\frac{2x} {3}}(\int_{0}^{x} Sin({x}) + \int_{0}^{x} x)[/tex] tends to zero as x-> infinity, and is decreasing around x=40 so it can't be close for very long (as mentioned the first thousand primes don't say much, let alone the first 25).

You might want to take a look at http://primes.utm.edu/howmany.shtml#2 for asymptotics for the nth prime and http://mathworld.wolfram.com/PrimeSpiral.html to see what the "prime spiral" from the OP was referring to.
 
you seem to be noticing the convexity of the prime number graph, as revealed by gauss's formula in hadamard's(?) "prime number theorem."
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
6K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 20 ·
Replies
20
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 228 ·
8
Replies
228
Views
38K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
Replies
8
Views
5K