Bài viết nền bên dưới chưa được dịch và đang hiển thị bằng tiếng Anh.
Về số chính phương
Square numbers are the oldest idea in this corner of mathematics, and the name is literal rather than metaphorical. The Pythagoreans of the sixth and fifth centuries BCE arranged pebbles into shapes and classified numbers by the shapes they made; a number was square if its pebbles filled a square. The practice gave figurate numbers their name and gave Greek arithmetic its characteristic geometric flavour.
The arrangement makes one result immediately visible. To grow a square from side n to side n+1, you add an L-shaped border along two edges — the Greeks called this a gnomon, after the upright rod of a sundial. The gnomon added at each step contains 1, then 3, then 5, then 7 dots, which is to say that the sum of the first n odd numbers is exactly n². That is a proof you can see rather than calculate, and it is still the standard way the identity is introduced.
Squares also carry the discovery that broke Pythagorean metaphysics. The school held that all magnitudes were ratios of whole numbers, and the diagonal of a unit square refuted it: no fraction squares to 2. The proof is a parity argument on squares, and the tradition — probably legendary — attributes the discovery to Hippasus of Metapontum and his drowning to the consequences.
Squares of integers have a further property that shaped number theory. Fermat's theorem on sums of two squares states that an odd prime is the sum of two squares exactly when it leaves remainder 1 on division by 4; Lagrange's four-square theorem, proved in 1770, shows that four squares always suffice for any positive integer whatsoever.
Tính chất chính
- S(n) = n², and S(n) − S(n−1) = 2n − 1, so consecutive differences are the odd numbers.
- The sum of the first n odd numbers equals n² — the gnomon identity, visible directly in the dot arrangement.
- A square number ends in 0, 1, 4, 5, 6 or 9 in base 10; it can never end in 2, 3, 7 or 8.
- Every square is congruent to 0 or 1 modulo 4, which is the basis of many impossibility proofs.
- A positive integer has an odd number of divisors precisely when it is a perfect square.
- Lagrange’s four-square theorem: every positive integer is the sum of at most four perfect squares.
- Squares and triangular numbers overlap in the square triangular numbers — 1, 36, 1225, 41616 — which are infinitely many but sparse.
Xuất hiện ở đâu
- The inverse-square law governs gravity, electrostatic force and the intensity of light and sound with distance.
- Algorithmic complexity: an O(n²) nested loop is the classic contrast case against O(n log n) sorting.
- Chessboards, pixel grids and tiling problems, where the count of cells is a square by construction.
- Standard deviation and least-squares regression, which square deviations so that positive and negative errors cannot cancel.
- The Pythagorean theorem, which is a statement about the areas of three squares.
Cách dùng bộ tạo này
Các giá trị được tạo hiện ở trên cùng, bên cạnh là nút sao chép. Để biến chúng thành ảnh, hãy chọn một dáng vẻ trong các kiểu ở phần Tạo ảnh, chọn kích thước xuất rồi tải về dưới dạng PNG, JPEG hoặc WebP. Mọi thứ được vẽ trong trình duyệt, nên không có gì bạn tạo ra được gửi tới máy chủ.
Thanh địa chỉ cập nhật theo lúc bạn làm, nên liên kết luôn cho lại đúng những gì bạn đang thấy — tiện khi muốn chia sẻ một dãy cụ thể hay giữ lại một cấu hình. Dùng Sao chép để lấy giá trị dưới dạng văn bản thuần, hoặc Xuất dữ liệu để có CSV, JSON, NDJSON, SQL và XML.
Nguồn
- Square number — Wikipedia — CC BY-SA 4.0
- Figurate number — Wikipedia — CC BY-SA 4.0
- OEIS A000290 — The squares — CC BY-SA 4.0
- MacTutor — Pythagoras of Samos — CC BY-SA 4.0
Các phần tóm lược lịch sử trên trang này dựa vào những tài liệu giấy phép mở được liệt kê ở trên. Thấy chỗ nào sai? Hãy cho chúng tôi biết và chúng tôi sẽ sửa.