Prime Numbers Near a Trillion
- 60Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
How many primes lie between 1012 and 1012+1000, and what proportion of the integers in that range are prime?
There are 37 primes among the 1000 integers, a proportion of 0.037, or about one prime in every 27 integers.
Or swipe the card
60 cards
How many primes lie between 1012 and 1012+1000, and what proportion of the integers in that range are prime?
There are 37 primes among the 1000 integers, a proportion of 0.037, or about one prime in every 27 integers.
How does the approximate density of primes near a large number x relate to the natural logarithm?
The prime density near x is approximately lnx1. Near 1012, this predicts about one prime in every ln(1012)≈27.6 integers.
Why do primes become sparser among larger integers?
Larger numbers have more possible factors that need to be ruled out, making it less likely for a number to be prime.
How far does trial division need to check to determine whether a number N is prime?
It is sufficient to check potential prime factors up to about N. For a number near 1012, that means checking primes up to about 106.
Why is checking factors of 143 much less work than checking factors of a number near a trillion?
For 143, trial division only needs to check up to about 143≈12. For a number near 1012, it may need to check up to about 106.
Give two example primes in the interval from one trillion to one trillion plus one thousand.
1,000,000,000,751 and 1,000,000,000,787 are examples.
What does the natural logarithm lnx mean?
lnx=y means ey=x; equivalently, it asks, “To what power must e be raised to get x?”
What is approximately ln10, and how can this value be interpreted?
ln10≈2.3, meaning e2.3 is approximately 10.
What is the value of the sum of the reciprocals of the positive integer squares?
n=1∑∞n21=6π2.
What series results from keeping prime powers pk in the reciprocal-square sum and weighting each by k1?
p prime∑k=1∑∞kp2k1=ln(6π2). This is a prime-power expansion of the logarithm of the reciprocal-square sum.
What does the alternating sum of reciprocals of positive odd integers equal?
1−31+51−71+⋯=4π.
How is a prime-filtered version of the alternating odd-reciprocal series related to π?
Keeping prime terms, retaining prime-power terms with a weight of k1 for powers pk, and preserving the alternating signs gives a series equal to ln(4π).
What do the prime-series examples illustrate about natural logarithms?
Natural logarithms can emerge from sums involving primes and their powers; in these examples, the resulting logarithms are of quantities related to π.
What is the alternating harmonic series, and what does it sum to?
1−21+31−41+⋯=ln2.
Does the harmonic series 1+21+31+⋯ converge?
No. It diverges: its partial sums grow without bound, even though the individual terms approach zero.
How does grouping terms in powers-of-two-sized blocks prove that the harmonic series diverges?
After the first term, group terms as 31+41, then 51 through 81, then 91 through 161, and so on. Each block sums to more than 21, so adding infinitely many blocks makes the partial sums unbounded.
Why does each block from 2j+11 through 2j+11 contribute more than 21 to the harmonic series?
The block has 2j terms, and every term is at least 2j+11 (with the initial term strictly larger). Thus the block sum is greater than 2j⋅2j+11=21.
How does the nth harmonic partial sum grow for large n?
Hn=k=1∑nk1≈lnn. More accurately, Hn≈lnn+γ.
What is Euler’s constant in the approximation for the harmonic partial sums?
Euler’s constant, also called the Euler–Mascheroni constant, is γ≈0.57721; it is the limiting difference between Hn and lnn.
Approximately how large must n be for the harmonic partial sum Hn to exceed one million?
Since Hn≈lnn, set lnn≈1,000,000. Then n≈e1,000,000=101,000,000/ln10≈10434,294, on the order of 10400,000.
How can a family of exponentials with different bases be rewritten using base e?
For a>0, ax=exlna. Thus changing the base is equivalent to changing the constant multiplying the exponent.
Does the family erx contain fundamentally different exponential functions from the family ax?
No. They describe the same family: ax=exlna, so the choice of base can be converted into a choice of exponent coefficient.
Why is e not uniquely responsible for producing exponential growth or decay?
Any positive base can describe exponential functions. Using e is a convenient convention, not a restriction on which exponentials can be represented.
What basic function has the bell-shaped profile used to model distributions?
A function proportional to e−x2 has a bell-shaped profile, since it decays on both sides of x=0.
Why does e−∣x∣ have a cusp while e−x2 has a smoother bell-shaped profile?
The absolute-value exponent changes direction sharply at x=0, creating a cusp. Squaring x produces a smooth exponent and a smooth bell shape.
In a normal-distribution model, what do the location and width parameters represent?
The mean parameter locates the center of the distribution, while the standard deviation controls its width. Adjusting the exponent changes the curve’s spread.
What does an expression such as ert communicate about exponential growth?
The parameter r is the proportional growth rate: the instantaneous rate of change is r times the current value.
What is the defining derivative property of the exponential function with base e?
dtdet=et. Its rate of change at each point equals its value there.
What is the derivative of ert?
dtdert=rert, by the chain rule.
How does the derivative of an investment modeled by ert relate to its current value?
Its instantaneous growth rate is rert, so the rate is proportional to the current amount, with proportionality constant r.
What is the derivative of a general exponential function at?
dtdat=(lna)at for a>0. The factor lna is its growth-rate constant.
What limit gives the proportionality constant in the derivative of ax?
h→0limhah−1=lna. Consequently, dxdax=(lna)ax.
How can ln2 be interpreted as a derivative-related limit?
h→0limh2h−1=ln2≈0.693. It is the growth-rate constant in the derivative of 2x.
How can e be defined using the limit for the derivative of an exponential?
e is the base for which h→0limheh−1=1. This makes the derivative of ex equal to itself.
What power series represents the exponential function?
exp(x)=n=0∑∞n!xn=1+x+2!x2+3!x3+⋯.
Why is the power series for exp(x) equal to its own derivative?
Differentiating each term shifts it to the preceding power: for example, dxdn!xn=(n−1)!xn−1. The resulting series is the original series.
How can e be defined from the exponential power series?
Define exp(x)=∑n=0∞n!xn; then e=exp(1).
What addition rule does the exponential function defined by its power series satisfy?
exp(a+b)=exp(a)exp(b). This property allows the function to behave like an exponential.
How does writing growth as ert make the rate parameter easier to interpret than writing it as at?
In ert, r directly gives the proportional instantaneous growth rate. In at, that rate is lna, which is less immediate.
How does eit move in the complex plane as t changes?
It travels around the unit circle, with t measuring the angle in radians and the distance traveled along the circle.
What is the derivative of eit, and what does it mean geometrically?
dtdeit=ieit. Multiplication by i rotates the position vector by 90∘, giving the direction of its velocity.
Why does eit move around the unit circle at speed one?
Its position vector has length one, and its velocity is i times that vector, which rotates it without changing its length. The velocity therefore also has magnitude one.
How does ait relate to eit, and what effect does the base have on its motion?
ait=eitlna. The factor lna changes the rate of rotation; the base changes the speed, not the circular path.
Is circular motion under complex exponentiation unique to base e?
No. Any positive base gives circular motion, since ait=eitlna; different bases simply produce different rotation rates.
Why are complex exponentials useful in electrical engineering?
They provide a convenient way to represent oscillations, including sine waves, cosine waves, and electrical signals.
What is the derivative of the natural logarithm?
dxdlnx=x1 for x>0.
How can implicit differentiation show that dxdlnx=x1?
Set y=lnx, so ey=x. Differentiating gives eydxdy=1; since ey=x, it follows that dxdy=x1.
How does the graph of lnx change in slope as x increases?
Its slope is x1, so it becomes smaller as x grows; the logarithm curve gets progressively flatter.
What is the area under y=x1 from x=1 to x=n?
∫1nx1dx=lnn.
Why is the harmonic sum ∑k=1nk1 comparable to the integral of x1?
Each term k1 can be represented as the area of a width-one rectangle near the curve y=x1. The rectangles approximate the area under that curve, which is lnn.
For the width-one rectangles with height k1, how does their total area compare with the area under y=x1?
The rectangle sum is larger than the integral, because parts of the rectangles extend above the curve. Thus the harmonic sum exceeds the corresponding logarithmic integral.
How does the fundamental theorem of calculus connect the integral of x1 to lnn?
Since lnx is an antiderivative of x1, ∫1nx1dx=lnn−ln1=lnn.
What function can be introduced to generalize the alternating harmonic series?
F(x)=x−2x2+3x3−4x4+⋯=n=1∑∞n(−1)n+1xn.
What is the derivative of F(x)=x−2x2+3x3−⋯?
Differentiating term by term gives F′(x)=1−x+x2−x3+⋯=1+x1, using the geometric-series formula.
What is the sum of a geometric series whose first term is 1 and whose terms are multiplied by −x?
1−x+x2−x3+⋯=1+x1, when the series converges.
How can integrating F′(x)=1+x1 recover the alternating power series?
Integrating term by term gives F(x)=x−2x2+3x3−⋯, since each power term gains a denominator equal to its new exponent.
What is ∫011+x1dx?
∫011+x1dx=ln(1+x)01=ln2.
How does the integral of 1+x1 show that 1−21+31−⋯=ln2?
The antiderivative series is F(x)=x−2x2+3x3−⋯. Evaluating from 0 to 1 gives the alternating harmonic series, while integrating F′(x)=1+x1 gives ln2.
What problem-solving principle can make a difficult sum easier to evaluate?
Generalize the problem by introducing a variable or a family of expressions. The broader version may have a derivative or other structure that is easier to analyze.
Why can recognizing familiar patterns in calculus help solve unexpected series problems?
Connections among derivatives, geometric series, integrals, and logarithms can transform a complicated-looking sum into a familiar calculation.

Ask anything
We've read this whole study set, so questions about it get the best answers.