_pub.n

• 2.1 Create a notebookhttp://www.noteshare.io/section/asciidoc-101?part=Create%20a%20notebook#_create_a_notebook
• 2.2 Create a new sectionhttp://www.noteshare.io/section/asciidoc-101?part=Create%20a%20new%20section#_create_a_new_section
• 2.3 Imageshttp://www.noteshare.io/section/asciidoc-101?part=Images#_images
• 2.4 Manage notebookhttp://www.noteshare.io/section/asciidoc-101?part=Manage%20notebook#_manage_notebook
• 2.5 Collaborationhttp://www.noteshare.io/section/asciidoc-101?part=Collaboration#_collaboration
• 2.6 Exporthttp://www.noteshare.io/section/asciidoc-101?part=Export#_export
• 3.1 First things firsthttp://www.noteshare.io/section/markup-basics?part=First%20things%20first#_first_things_first
• 3.2 Sectionshttp://www.noteshare.io/section/markup-basics?part=Sections#_sections
• 3.3 Blockshttp://www.noteshare.io/section/markup-basics?part=Blocks#_blocks
• 3.4 Basic tableshttp://www.noteshare.io/section/markup-basics?part=Basic%20tables#_basic_tables
• 4.5 Math Homeworkhttp://www.noteshare.io/section/math-homework?part=Math%20Homework#_math_homework
• 4.6 Chemistryhttp://www.noteshare.io/section/math-homework?part=Chemistry#_chemistry
• 6.1 Creating a Notehttp://www.noteshare.io/section/creating-notes-and-notebooks?part=Creating%20a%20Note#_creating_a_note
• 6.2 Editing a Notehttp://www.noteshare.io/section/creating-notes-and-notebooks?part=Editing%20a%20Note#_editing_a_note
• 6.3 Markup 102http://www.noteshare.io/section/creating-notes-and-notebooks?part=Markup%20102#_markup
• 6.4 Creating a notebookhttp://www.noteshare.io/section/creating-notes-and-notebooks?part=Creating%20a%20notebook#_creating_a_notebook
• 7.1 A simple tablehttp://www.noteshare.io/section/tables-?part=A%20simple%20table#_a_simple_table
• 7.2 A formatted tablehttp://www.noteshare.io/section/tables-?part=A%20formatted%20table#_a_formatted_table
• 8.1 References within a notehttp://www.noteshare.io/section/cross-references-2?part=References%20within%20a%20note#_references_within_a_note
• 8.2 References within Notesharehttp://www.noteshare.io/section/cross-references-2?part=References%20within%20Noteshare#_references_within_noteshare
• 8.3 References to a web pagehttp://www.noteshare.io/section/cross-references-2?part=References%20to%20a%20web%20page#_references_to_a_web_page
• 8.4 References to something inside a web pagehttp://www.noteshare.io/section/cross-references-2?part=References%20to%20something%20inside%20a%20web%20page#_references_to_something_inside_a_web_page
• 9.1 Syntaxhttp://www.noteshare.io/section/mathematical-notation?part=Syntax#_syntax
• 10.1 Exampleshttp://www.noteshare.io/section/chemistry?part=Examples#_examples
• 10.2 Structural formulashttp://www.noteshare.io/section/chemistry?part=Structural%20formulas#_structural_formulas
• 10.3 Referenceshttp://www.noteshare.io/section/chemistry?part=References#_references
• 14.1 Check-in and check-outhttp://www.noteshare.io/section/collaboration?part=Check-in%20and%20check-out#_check_in_and_check_out
• 15.1 Attributeshttp://www.noteshare.io/section/extras?part=Attributes#_attributes
• 16.1 Notes on the embed featurehttp://www.noteshare.io/section/test-of-embed-feature?part=Notes%20on%20the%20embed%20feature#_notes_on_the_embed_feature
• 20.1 Problem sets, etc.http://www.noteshare.io/section/technical-appendix?part=Problem%20sets,%20etc.#_problem_sets_etc
• 20.2 Quiz #1http://www.noteshare.io/section/technical-appendix?part=Quiz%20#1#_quiz
• 20.3 Quiz #2http://www.noteshare.io/section/technical-appendix?part=Quiz%20#2#_quiz
• 20.4 Technical notehttp://www.noteshare.io/section/technical-appendix?part=Technical%20note#_technical_note
• 22.1 Why Markup?http://www.noteshare.io/section/asciidoc-markup?part=Why%20Markup?#_why_markup
• 22.2 PDFhttp://www.noteshare.io/section/asciidoc-markup?part=PDF#_pdf
• 22.4 More Asciidoc Exampleshttp://www.noteshare.io/section/asciidoc-markup?part=More%20Asciidoc%20Examples#_more_asciidoc_examples

# Noteshare Handbook

This fake article shows how one can write a real mathematics article in Noteshare. There are environment for theorems, equations, etc.


## 9. dummyoutersection

### 9.4. Sample Article


This "article" is a demonstration of how one can write mathematics in Noteshare. Use arbitrary LaTeX inside the traditional dollar sign, bracket delimiters, and a form of the LaTeX environment. Equation numbering and cross-referencing is supported, as is the numbered theorem environment.[1]

Observe the footnote reference in the previous paragraph. The footnote is *way*at the bottom. However, you can click on it it reference it.

#### 9.4.1. Pythagorean triples

One of the first real pieces of mathematics we learn is this:

Theorem 1.
Let $a$, $b$, and $c$ be the sides of a right triangle, where $c$ is the hypotenuse. Then $a^2 + b^2 = c^2$.

The Pythagorean theorem suggests an equation,

 $x^2 + y^2 = z^2$ (1)

If we demand that the unknowns be integers, then this is a Diophantine equation. We all know one solution, to equation (1) the 3-4-5 triangle. However, there are many more, in fact, infinitely many. One way of generating more solutions is to rescale existing ones. Thus 6-8-10 is a solution. However, what is interesting is that there are infinitely many dissimilar solutions. One is 5-12-13. Quite remarkably, there is a clay tablet (Plympton 322) from Mesopotamia, dated to about 1800 BC, that contains a list of 15 such "Pythagorean triples." See Wikipedia.

It is unlikely that the Babylonian mathematicians, despite their sophistication and skill, knew that equation (1) has infinitely many solutions. This fact is equivalent to the statement that the unit circle centered at the origin has infinitely many points with rational coordinates.

#### 9.4.2. Another result from ancient times

Theorem 2.
There are infinitely many primes.
Proof

Suppose that there are only finitely many primes, say $p_1, p_2, \ldots, p_N$. Let

 $Q = p_1p_2 \cdots p_N + 1$ (2)

This number is is greater than the greatest prime, $p_N$. Therefore it is composite, and therefore it is divisible by $p_i$ for some $i$. But the remainder of $Q$ upon division by $p_i$ is 1, a contradiction. Q.E.D.

#### 9.4.3. The work of Fermat

Let us consider Theorem 1 once again. Pierre Fermat asked whether this family of Diophantine equations $x^d + y^d = z^d$, where parameter $d$ is greater than two, have any other than the obvious solutions, e.g., $x, y, z = 1, 0 ,1$ where one variable is zero. Fermat conjectured that the answer was no, and he wrote in the margin of Diophantus' treatise that he had a marvelous proof of this fact, alas, too long to fit int he space available. More than 300 years later, Andrew Wiles, using techniques developed only in the twentieth century, gave a proof of the theorem of Fermat.

#### 9.4.4. The work of Georg Cantor

Georg Cantor introduced the notion of set, e.g.,

 $\NN = \set{ \text{integers} } = \set{ 1, 2, 3, \ldots }$ (3)

Story to be continued …​

However, let’s check that our cross-references work. We learned about the Pythagorean formula (1), and the number of solutions it has in Theorem Theorem 1. We also learned in Theorem Theorem 2 that prime numbers are quite abundant in Nature: there are infinitely many of them. Our last, incomplete section, featuring the set of integers (3), is devoted to the work of Georg Cantor.

Created October 2, 2014, last updated: August 21, 2015

1 We are working on a prototype asciidoctor-to-latex converter. At the present moment it is adequate to convert this file into LaTeX. Stay tuned!

### Asciidoc-LaTeX environment

The Asciidoctor processor is what makes LaTeX-type environments possible in Noteshare. See the Asciidoc-LaTeX Manual for more details.