Longest repeated sequence in the prime counting function

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
Loren Booda
Messages
3,115
Reaction score
4
Is there a longest repeated sequence (congruency) in the prime counting function [tex]\pi (x)[/tex] (that which gives the number of primes less than or equal to x)?

Recall that [tex]\pi (x)[/tex], although infinite, may not be random, and itself starts out with an unrepeated sequence [tex]\pi (2)=1[/tex] and [tex]\pi (3)=2[/tex] (with a "slope" of 1).
 
Physics news on Phys.org
There are arbitrarily large gaps in the prime numbers. This means that [tex]\pi(n)[/tex] can be constant over an arbitrarily large interval.

Consider the n-1 numbers [tex]n!+k[/itex] where [itex]k=2,3,\cdots n[/itex][/tex][itex][/itex]
 
I think that Simon-M answered my question, and with a basic example - that the prime counting function as graphed can repeat itself indefinitely (such as when constant over an arbitrarily large interval). Another example would include the interjection of one prime into such an arbitrarily large sequence, which then could be repeated.