Toolbox

A formula sheet plus reference tools for calculator, equation solver, units, elements, graphs and molecules.

Toolbox · Number Line & Number Sets

Number Line & Number Sets

Pan and zoom a number line, highlight nine number sets, browse 500 integers either side

Natural
N={0,1,2,3,… }\mathbb{N}=\{0,1,2,3,\dots\}
Zero together with the positive integers: 0, 1, 2, 3, …
−∞+∞-7-6-5-4-3-2-101234567π√2log₂100

Drag the line to pan, scroll or use +/− to zoom, and click a number below to jump.

Number strip (500 before · 500 after)501 of 1001 numbers in view belong to this set
Check 0
ZeroNaturalEven
Steps
3 / 3
  1. 1Rule
    n=0n=0

    It equals 0, the boundary between positive and negative.

  2. 2Rule
    0=2×00=2\times 0

    It is divisible by 2, so it is even.

  3. 3Conclusion
    0<20<2

    0 is less than 2, so it is neither prime nor composite.

Concept

A number line fixes an origin, a positive direction and a unit length: 0 sits at the origin, right is positive and left is negative. Every real number has exactly one place on it.

Natural numbers include 0 (0, 1, 2, 3…), positive integers do not. 1 is neither prime nor composite, and 2 is the only even prime.

Parity depends only on the remainder modulo 2: remainder 0 means even, remainder 1 means odd. Zero is even.

Going further

Rational and irrational numbers
Not every point on the line is rational. √2 cannot be written as a fraction and sits at about 1.4142; π ≈ 3.1416, e ≈ 2.7183, log₂10 ≈ 3.3219.
Testing for primes
To decide whether n is prime, divide by primes up to √n. If none divides evenly, n is prime — exactly what the step-by-step check on this page does.
Density of the rationals
Between any two different rationals there is another rational (take the average), so rational points are packed densely — yet gaps remain, and the irrationals fill them.

Common mistakes

  • Odd, even, prime and composite only make sense for integers; 0.5 is not part of the discussion.
  • Negative odd numbers exist (−3, for example); test the remainder of the absolute value.
  • 1 is neither prime nor composite, and 2 is the only even prime.
Page keywordsnumber linenumber setsnatural numbersprime numbersodd and eveninteractive number line onlinedifference between prime and compositeis 0 a natural numberplot pi and root 2 on a number linefirst 500 integers
AI DO LEARN

Science, made explorable.

5 Disciplines·6 Levels·647 Knowledge points

© 2026 AI DO LEARN. All rights reserved.

Original explanations, diagrams and code may not be republished without permission; please credit the source when quoting.