Przejdź do treści
Number Buffet

Liczby kwadratowe

Kwadraty 1, 4, 9, 16 — sumy narastające liczb nieparzystych i najstarszy ciąg figuralny ze wszystkich.

OEIS A000290 · 2 min czytania

Ustawienia

Szybkie ustawienia

Terms are produced in order starting from the chosen index.

S(0) = 0; most lists begin at S(1) = 1.

Square, the pyramid stacked from squares, or the centred ring form.

The worked form suits teaching; plain numbers export more cleanly.

Group long terms as 1,413,721 for readability.

Dopracuj wygląd

Najpierw wybierz styl obok obrazu — te suwaki go dostrajają.

Frame

A border drawn inside the edge of the image.

Zaawansowane

Wyniki

20 wartości

1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225, 256, 289, 324, 361, 400

Square numbers count the dots in a filled square, and are the running totals of the odd numbers.


Utwórz obraz

Włącz JavaScript, aby ostylować te liczby i pobrać je jako obraz. Same wartości są wypisane powyżej.

Text on the image

Drag a line straight onto the picture to place it — once placed, it stays exactly where you put it. Everything here is drawn into the download.

Artykuł z tłem historycznym poniżej nie został jeszcze przetłumaczony i jest wyświetlany po angielsku.

O liczby kwadratowe

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.

Najważniejsze właściwości

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

Gdzie się pojawiają

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

Jak korzystać z tego generatora

Wygenerowane wartości są na górze, a obok nich przycisk kopiowania. Aby zrobić z nich obraz, wybierz wygląd spośród styli w sekcji Utwórz obraz, wskaż rozmiar eksportu i pobierz jako PNG, JPEG lub WebP. Wszystko renderuje się w przeglądarce, więc nic, co wygenerujesz, nie jest wysyłane na serwer.

Pasek adresu aktualizuje się w trakcie pracy, więc link zawsze odtwarza dokładnie to, co widzisz — przydaje się, gdy chcesz udostępnić konkretny ciąg albo zachować konfigurację na później. Użyj Kopiuj, aby zabrać wartości jako zwykły tekst, albo Eksportuj dane, aby otrzymać CSV, JSON, NDJSON, SQL lub XML.

Źródła

Streszczenia historyczne na tej stronie opierają się na wymienionych wyżej źródłach o otwartej licencji. Zauważyłeś błąd? Napisz nam, a go poprawimy.