1. Home
  2. Explore
  3. Mathematics
  4. Prime Numbers Near a Trillion

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Prime Numbers Near a Trillion

  • 60Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Prime Patterns
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

How many primes lie between 101210^{12}1012 and 1012+100010^{12}+10001012+1000, and what proportion of the integers in that range are prime?

Tap to flipClick to flipspace

There are 373737 primes among the 100010001000 integers, a proportion of 0.0370.0370.037, or about one prime in every 272727 integers.

Or swipe the card

60 cards

  1. How many primes lie between 101210^{12}1012 and 1012+100010^{12}+10001012+1000, and what proportion of the integers in that range are prime?

    There are 373737 primes among the 100010001000 integers, a proportion of 0.0370.0370.037, or about one prime in every 272727 integers.

  2. How does the approximate density of primes near a large number xxx relate to the natural logarithm?

    The prime density near xxx is approximately 1ln⁡x\frac{1}{\ln x}lnx1​. Near 101210^{12}1012, this predicts about one prime in every ln⁡(1012)≈27.6\ln(10^{12})\approx 27.6ln(1012)≈27.6 integers.

  3. 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.

  4. How far does trial division need to check to determine whether a number NNN is prime?

    It is sufficient to check potential prime factors up to about N\sqrt{N}N​. For a number near 101210^{12}1012, that means checking primes up to about 10610^6106.

  5. Why is checking factors of 143143143 much less work than checking factors of a number near a trillion?

    For 143143143, trial division only needs to check up to about 143≈12\sqrt{143}\approx 12143​≈12. For a number near 101210^{12}1012, it may need to check up to about 10610^6106.

  6. Give two example primes in the interval from one trillion to one trillion plus one thousand.

    1,000,000,000,7511{,}000{,}000{,}000{,}7511,000,000,000,751 and 1,000,000,000,7871{,}000{,}000{,}000{,}7871,000,000,000,787 are examples.

  7. What does the natural logarithm ln⁡x\ln xlnx mean?

    ln⁡x=y\ln x=ylnx=y means ey=xe^y=xey=x; equivalently, it asks, “To what power must eee be raised to get xxx?”

  8. What is approximately ln⁡10\ln 10ln10, and how can this value be interpreted?

    ln⁡10≈2.3\ln 10\approx 2.3ln10≈2.3, meaning e2.3e^{2.3}e2.3 is approximately 101010.

  9. What is the value of the sum of the reciprocals of the positive integer squares?

    ∑n=1∞1n2=π26\displaystyle \sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi^2}{6}n=1∑∞​n21​=6π2​.

  10. What series results from keeping prime powers pkp^kpk in the reciprocal-square sum and weighting each by 1k\frac{1}{k}k1​?

    ∑p prime∑k=1∞1kp2k=ln⁡(π26)\displaystyle \sum_{p\text{ prime}}\sum_{k=1}^{\infty}\frac{1}{k p^{2k}}=\ln\left(\frac{\pi^2}{6}\right)p prime∑​k=1∑∞​kp2k1​=ln(6π2​). This is a prime-power expansion of the logarithm of the reciprocal-square sum.

  11. What does the alternating sum of reciprocals of positive odd integers equal?

    1−13+15−17+⋯=π4\displaystyle 1-\frac{1}{3}+\frac{1}{5}-\frac{1}{7}+\cdots=\frac{\pi}{4}1−31​+51​−71​+⋯=4π​.

  12. How is a prime-filtered version of the alternating odd-reciprocal series related to π\piπ?

    Keeping prime terms, retaining prime-power terms with a weight of 1k\frac{1}{k}k1​ for powers pkp^kpk, and preserving the alternating signs gives a series equal to ln⁡(π4)\ln\left(\frac{\pi}{4}\right)ln(4π​).

  13. 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 π\piπ.

  14. What is the alternating harmonic series, and what does it sum to?

    1−12+13−14+⋯=ln⁡2\displaystyle 1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\cdots=\ln 21−21​+31​−41​+⋯=ln2.

  15. Does the harmonic series 1+12+13+⋯1+\frac{1}{2}+\frac{1}{3}+\cdots1+21​+31​+⋯ converge?

    No. It diverges: its partial sums grow without bound, even though the individual terms approach zero.

  16. How does grouping terms in powers-of-two-sized blocks prove that the harmonic series diverges?

    After the first term, group terms as 13+14\frac{1}{3}+\frac{1}{4}31​+41​, then 15\frac{1}{5}51​ through 18\frac{1}{8}81​, then 19\frac{1}{9}91​ through 116\frac{1}{16}161​, and so on. Each block sums to more than 12\frac{1}{2}21​, so adding infinitely many blocks makes the partial sums unbounded.

  17. Why does each block from 12j+1\frac{1}{2^j+1}2j+11​ through 12j+1\frac{1}{2^{j+1}}2j+11​ contribute more than 12\frac{1}{2}21​ to the harmonic series?

    The block has 2j2^j2j terms, and every term is at least 12j+1\frac{1}{2^{j+1}}2j+11​ (with the initial term strictly larger). Thus the block sum is greater than 2j⋅12j+1=122^j\cdot\frac{1}{2^{j+1}}=\frac{1}{2}2j⋅2j+11​=21​.

  18. How does the nnnth harmonic partial sum grow for large nnn?

    Hn=∑k=1n1k≈ln⁡n\displaystyle H_n=\sum_{k=1}^{n}\frac{1}{k}\approx \ln nHn​=k=1∑n​k1​≈lnn. More accurately, Hn≈ln⁡n+γH_n\approx \ln n+\gammaHn​≈lnn+γ.

  19. 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\gamma\approx 0.57721γ≈0.57721; it is the limiting difference between HnH_nHn​ and ln⁡n\ln nlnn.

  20. Approximately how large must nnn be for the harmonic partial sum HnH_nHn​ to exceed one million?

    Since Hn≈ln⁡nH_n\approx\ln nHn​≈lnn, set ln⁡n≈1,000,000\ln n\approx 1{,}000{,}000lnn≈1,000,000. Then n≈e1,000,000=101,000,000/ln⁡10≈10434,294n\approx e^{1{,}000{,}000}=10^{1{,}000{,}000/\ln 10}\approx 10^{434{,}294}n≈e1,000,000=101,000,000/ln10≈10434,294, on the order of 10400,00010^{400{,}000}10400,000.

  21. How can a family of exponentials with different bases be rewritten using base eee?

    For a>0a>0a>0, ax=exln⁡aa^x=e^{x\ln a}ax=exlna. Thus changing the base is equivalent to changing the constant multiplying the exponent.

  22. Does the family erxe^{rx}erx contain fundamentally different exponential functions from the family axa^xax?

    No. They describe the same family: ax=exln⁡aa^x=e^{x\ln a}ax=exlna, so the choice of base can be converted into a choice of exponent coefficient.

  23. Why is eee not uniquely responsible for producing exponential growth or decay?

    Any positive base can describe exponential functions. Using eee is a convenient convention, not a restriction on which exponentials can be represented.

  24. What basic function has the bell-shaped profile used to model distributions?

    A function proportional to e−x2e^{-x^2}e−x2 has a bell-shaped profile, since it decays on both sides of x=0x=0x=0.

  25. Why does e−∣x∣e^{-|x|}e−∣x∣ have a cusp while e−x2e^{-x^2}e−x2 has a smoother bell-shaped profile?

    The absolute-value exponent changes direction sharply at x=0x=0x=0, creating a cusp. Squaring xxx produces a smooth exponent and a smooth bell shape.

  26. 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.

  27. What does an expression such as erte^{rt}ert communicate about exponential growth?

    The parameter rrr is the proportional growth rate: the instantaneous rate of change is rrr times the current value.

  28. What is the defining derivative property of the exponential function with base eee?

    ddtet=et\displaystyle \frac{d}{dt}e^t=e^tdtd​et=et. Its rate of change at each point equals its value there.

  29. What is the derivative of erte^{rt}ert?

    ddtert=rert\displaystyle \frac{d}{dt}e^{rt}=r e^{rt}dtd​ert=rert, by the chain rule.

  30. How does the derivative of an investment modeled by erte^{rt}ert relate to its current value?

    Its instantaneous growth rate is rertr e^{rt}rert, so the rate is proportional to the current amount, with proportionality constant rrr.

  31. What is the derivative of a general exponential function ata^tat?

    ddtat=(ln⁡a)at\displaystyle \frac{d}{dt}a^t=(\ln a)a^tdtd​at=(lna)at for a>0a>0a>0. The factor ln⁡a\ln alna is its growth-rate constant.

  32. What limit gives the proportionality constant in the derivative of axa^xax?

    lim⁡h→0ah−1h=ln⁡a\displaystyle \lim_{h\to 0}\frac{a^h-1}{h}=\ln ah→0lim​hah−1​=lna. Consequently, ddxax=(ln⁡a)ax\frac{d}{dx}a^x=(\ln a)a^xdxd​ax=(lna)ax.

  33. How can ln⁡2\ln 2ln2 be interpreted as a derivative-related limit?

    lim⁡h→02h−1h=ln⁡2≈0.693\displaystyle \lim_{h\to 0}\frac{2^h-1}{h}=\ln 2\approx 0.693h→0lim​h2h−1​=ln2≈0.693. It is the growth-rate constant in the derivative of 2x2^x2x.

  34. How can eee be defined using the limit for the derivative of an exponential?

    eee is the base for which lim⁡h→0eh−1h=1\displaystyle \lim_{h\to 0}\frac{e^h-1}{h}=1h→0lim​heh−1​=1. This makes the derivative of exe^xex equal to itself.

  35. What power series represents the exponential function?

    exp⁡(x)=∑n=0∞xnn!=1+x+x22!+x33!+⋯\displaystyle \exp(x)=\sum_{n=0}^{\infty}\frac{x^n}{n!}=1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+\cdotsexp(x)=n=0∑∞​n!xn​=1+x+2!x2​+3!x3​+⋯.

  36. Why is the power series for exp⁡(x)\exp(x)exp(x) equal to its own derivative?

    Differentiating each term shifts it to the preceding power: for example, ddxxnn!=xn−1(n−1)!\frac{d}{dx}\frac{x^n}{n!}=\frac{x^{n-1}}{(n-1)!}dxd​n!xn​=(n−1)!xn−1​. The resulting series is the original series.

  37. How can eee be defined from the exponential power series?

    Define exp⁡(x)=∑n=0∞xnn!\exp(x)=\sum_{n=0}^{\infty}\frac{x^n}{n!}exp(x)=∑n=0∞​n!xn​; then e=exp⁡(1)e=\exp(1)e=exp(1).

  38. What addition rule does the exponential function defined by its power series satisfy?

    exp⁡(a+b)=exp⁡(a)exp⁡(b)\exp(a+b)=\exp(a)\exp(b)exp(a+b)=exp(a)exp(b). This property allows the function to behave like an exponential.

  39. How does writing growth as erte^{rt}ert make the rate parameter easier to interpret than writing it as ata^tat?

    In erte^{rt}ert, rrr directly gives the proportional instantaneous growth rate. In ata^tat, that rate is ln⁡a\ln alna, which is less immediate.

  40. How does eite^{it}eit move in the complex plane as ttt changes?

    It travels around the unit circle, with ttt measuring the angle in radians and the distance traveled along the circle.

  41. What is the derivative of eite^{it}eit, and what does it mean geometrically?

    ddteit=ieit\displaystyle \frac{d}{dt}e^{it}=i e^{it}dtd​eit=ieit. Multiplication by iii rotates the position vector by 90∘90^\circ90∘, giving the direction of its velocity.

  42. Why does eite^{it}eit move around the unit circle at speed one?

    Its position vector has length one, and its velocity is iii times that vector, which rotates it without changing its length. The velocity therefore also has magnitude one.

  43. How does aita^{it}ait relate to eite^{it}eit, and what effect does the base have on its motion?

    ait=eitln⁡a\displaystyle a^{it}=e^{it\ln a}ait=eitlna. The factor ln⁡a\ln alna changes the rate of rotation; the base changes the speed, not the circular path.

  44. Is circular motion under complex exponentiation unique to base eee?

    No. Any positive base gives circular motion, since ait=eitln⁡aa^{it}=e^{it\ln a}ait=eitlna; different bases simply produce different rotation rates.

  45. Why are complex exponentials useful in electrical engineering?

    They provide a convenient way to represent oscillations, including sine waves, cosine waves, and electrical signals.

  46. What is the derivative of the natural logarithm?

    ddxln⁡x=1x\displaystyle \frac{d}{dx}\ln x=\frac{1}{x}dxd​lnx=x1​ for x>0x>0x>0.

  47. How can implicit differentiation show that ddxln⁡x=1x\frac{d}{dx}\ln x=\frac{1}{x}dxd​lnx=x1​?

    Set y=ln⁡xy=\ln xy=lnx, so ey=xe^y=xey=x. Differentiating gives eydydx=1e^y\frac{dy}{dx}=1eydxdy​=1; since ey=xe^y=xey=x, it follows that dydx=1x\frac{dy}{dx}=\frac{1}{x}dxdy​=x1​.

  48. How does the graph of ln⁡x\ln xlnx change in slope as xxx increases?

    Its slope is 1x\frac{1}{x}x1​, so it becomes smaller as xxx grows; the logarithm curve gets progressively flatter.

  49. What is the area under y=1xy=\frac{1}{x}y=x1​ from x=1x=1x=1 to x=nx=nx=n?

    ∫1n1x dx=ln⁡n\displaystyle \int_1^n\frac{1}{x}\,dx=\ln n∫1n​x1​dx=lnn.

  50. Why is the harmonic sum ∑k=1n1k\sum_{k=1}^{n}\frac{1}{k}∑k=1n​k1​ comparable to the integral of 1x\frac{1}{x}x1​?

    Each term 1k\frac{1}{k}k1​ can be represented as the area of a width-one rectangle near the curve y=1xy=\frac{1}{x}y=x1​. The rectangles approximate the area under that curve, which is ln⁡n\ln nlnn.

  51. For the width-one rectangles with height 1k\frac{1}{k}k1​, how does their total area compare with the area under y=1xy=\frac{1}{x}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.

  52. How does the fundamental theorem of calculus connect the integral of 1x\frac{1}{x}x1​ to ln⁡n\ln nlnn?

    Since ln⁡x\ln xlnx is an antiderivative of 1x\frac{1}{x}x1​, ∫1n1x dx=ln⁡n−ln⁡1=ln⁡n\displaystyle \int_1^n\frac{1}{x}\,dx=\ln n-\ln 1=\ln n∫1n​x1​dx=lnn−ln1=lnn.

  53. What function can be introduced to generalize the alternating harmonic series?

    F(x)=x−x22+x33−x44+⋯=∑n=1∞(−1)n+1xnn\displaystyle F(x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+\cdots=\sum_{n=1}^{\infty}\frac{(-1)^{n+1}x^n}{n}F(x)=x−2x2​+3x3​−4x4​+⋯=n=1∑∞​n(−1)n+1xn​.

  54. What is the derivative of F(x)=x−x22+x33−⋯F(x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\cdotsF(x)=x−2x2​+3x3​−⋯?

    Differentiating term by term gives F′(x)=1−x+x2−x3+⋯=11+xF'(x)=1-x+x^2-x^3+\cdots=\frac{1}{1+x}F′(x)=1−x+x2−x3+⋯=1+x1​, using the geometric-series formula.

  55. What is the sum of a geometric series whose first term is 111 and whose terms are multiplied by −x-x−x?

    1−x+x2−x3+⋯=11+x\displaystyle 1-x+x^2-x^3+\cdots=\frac{1}{1+x}1−x+x2−x3+⋯=1+x1​, when the series converges.

  56. How can integrating F′(x)=11+xF'(x)=\frac{1}{1+x}F′(x)=1+x1​ recover the alternating power series?

    Integrating term by term gives F(x)=x−x22+x33−⋯F(x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\cdotsF(x)=x−2x2​+3x3​−⋯, since each power term gains a denominator equal to its new exponent.

  57. What is ∫0111+x dx\displaystyle \int_0^1\frac{1}{1+x}\,dx∫01​1+x1​dx?

    ∫0111+x dx=ln⁡(1+x)∣01=ln⁡2\displaystyle \int_0^1\frac{1}{1+x}\,dx=\ln(1+x)\Big|_0^1=\ln 2∫01​1+x1​dx=ln(1+x)​01​=ln2.

  58. How does the integral of 11+x\frac{1}{1+x}1+x1​ show that 1−12+13−⋯=ln⁡21-\frac{1}{2}+\frac{1}{3}-\cdots=\ln 21−21​+31​−⋯=ln2?

    The antiderivative series is F(x)=x−x22+x33−⋯F(x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\cdotsF(x)=x−2x2​+3x3​−⋯. Evaluating from 000 to 111 gives the alternating harmonic series, while integrating F′(x)=11+xF'(x)=\frac{1}{1+x}F′(x)=1+x1​ gives ln⁡2\ln 2ln2.

  59. 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.

  60. 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.

Card 1 of 60
Card 1 of 60

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent