Giter Site home page Giter Site logo

Exercise 4.4-11 about math-notes HOT 3 OPEN

Spdwal avatar Spdwal commented on September 27, 2024
Exercise 4.4-11

from math-notes.

Comments (3)

muzimuzhi avatar muzimuzhi commented on September 27, 2024

Test extension

Let $n$ and $d$ denote integers. We say that $d$ is a divisor of $n$ if $n = cd$ for some integer $c$. An integer $n$ is called a prime if $n > 1$ and if the only positive divisors of $n$ are $1$ and $n$. Prove, by induction, that every integer $n > 1$ is either a prime or a product of primes.

from math-notes.

muzimuzhi avatar muzimuzhi commented on September 27, 2024

Prove by induction.

Let $A(n)$ be an assertion that integer $n$ is either a prime or a production of primes.

  • STEP 1. $A(2)$ is true, since $2$ is a prime.
  • STEP 2. Suppose $A(k)$ ($1 < k \leq n$) is true. We prove $A(n+1)$ is true.
    • If $n + 1$ itself is a prime, $A(n+1)$ holds.
    • If $n + 1$ is not a prime, there exists a positive integer $d$, $1 < d < n+1$, such that $n = cd$ for some $c$. Hence $1 < c < n+1$. Since $A(d)$ holds, $d$ is either a prime or a production of primes. The same is true for $c$. Therefore $n + 1 = cd$ is a production of primes. $A(n+1)$ holds.

In conclusion, $A(n)$ holds for every integer $n>1$.

from math-notes.

soulomoon avatar soulomoon commented on September 27, 2024

push

from math-notes.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.