본문으로 이동
Number Buffet

약수의 개수

각 수의 약수가 몇 개인지 — 1849년 디리클레가 평균값을 밝혀냈지만 오차항은 아직 미해결인 함수.

OEIS A000005 · 3분 분량

설정

빠른 설정

d(1) = 1, since 1 is its own only divisor.

Up to 1,000,000. At most 10,000 rows are shown.

Divisors. Leave at 0 to show every number in the range. Nothing below one million has more than 240.

Group large values of n as 720,720 for readability.

모양 미세 조정

먼저 이미지 옆의 설정을 고르세요. 아래 조절기가 그것을 다듬습니다.

Frame

A border drawn inside the edge of the image.

고급

결과

50개 값

1: 1, 2: 2, 3: 2, 4: 3, 5: 2, 6: 4, 7: 2, 8: 4, 9: 3, 10: 4, 11: 2, 12: 6, 13: 2, 14: 4, 15: 4, 16: 5, 17: 2, 18: 6, 19: 2, 20: 6, 21: 4, 22: 4, 23: 2, 24: 8, 25: 3, 26: 4, 27: 4, 28: 6, 29: 2, 30: 8, 31: 2, 32: 6, 33: 4, 34: 4, 35: 4, 36: 9, 37: 2, 38: 4, 39: 4, 40: 8, 41: 2, 42: 8, 43: 2, 44: 6, 45: 6, 46: 4, 47: 2, 48: 10, 49: 3, 50: 6


이미지 만들기

이 숫자를 꾸며 이미지로 내려받으려면 자바스크립트를 켜세요. 값 자체는 위에 나열되어 있습니다.

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.

아래의 배경 설명은 아직 번역되지 않아 영어로 표시됩니다.

약수의 개수 소개

Counting divisors is as old as arithmetic, but the counting function became an object of study in the nineteenth century. Peter Gustav Lejeune Dirichlet asked, in 1849, not what d(n) is for a particular n — that falls straight out of the prime factorisation — but what it is on average. His answer introduced a technique still taught as the hyperbola method: adding up d(n) for all n up to x amounts to counting lattice points under the hyperbola uv = x, and each point can be paired with its mirror image across the diagonal, which halves the work. He obtained x·log x + (2γ − 1)x, where γ is the Euler–Mascheroni constant, with an error term no larger than a constant times √x.

Pinning that error term down is the Dirichlet divisor problem, and it is still open. Georgy Voronoy improved the exponent from 1/2 to 1/3 in 1903. In 1915 G. H. Hardy and Edmund Landau showed, independently, that the exponent can never be pushed below 1/4 — which is where nearly everyone expects the truth to lie. The best published upper bound is Martin Huxley's 131/416 ≈ 0.3149, from 2003. More than a century of effort has closed well under a tenth of the gap.

The other natural question is how large d(n) can get. Severin Wigert settled the maximal order in 1907: d(n) is at most 2^((1+o(1))·log n / log log n). Ramanujan recovered and sharpened that result in his 1915 paper on highly composite numbers, which are precisely the record-holders for divisor count.

The notation never converged. d(n), τ(n) and σ₀(n) all denote the same function — the last because counting divisors is the same as summing their zeroth powers.

주요 성질

  • If n = p₁^a₁ · p₂^a₂ · … then d(n) = (a₁+1)(a₂+1)…, so the count depends only on the exponents, never on which primes appear.
  • d is multiplicative: d(mn) = d(m)·d(n) whenever gcd(m, n) = 1.
  • d(n) is odd exactly when n is a perfect square, because divisors pair up as d and n/d except when d = √n.
  • d(n) = 1 only for n = 1, and d(n) = 2 exactly when n is prime.
  • Dirichlet (1849): the divisor counts up to x total x·log x + (2γ − 1)x + O(√x), so a number near x has about log x divisors on average.
  • The Dirichlet series of d is the square of the Riemann zeta function: Σ d(n)/nˢ = ζ(s)² for Re(s) > 1.
  • 720720 is the smallest number with 240 divisors, and no number below one million has more.
  • d grows slower than any positive power of n: d(n) = n^o(1), even though it is unbounded.

등장하는 곳

  • The locker puzzle: walk down a corridor of closed lockers toggling every kth one on pass k, and the lockers left open are exactly the perfect squares — because only squares have an odd number of divisors.
  • The number of ways to lay n items out in a rectangular grid, counting a×b and b×a separately, is exactly d(n). Spreadsheet and sprite-sheet layout tools use this.
  • The Dirichlet divisor problem is the model case for lattice-point counting under curves, a whole subfield of analytic number theory.
  • Trial-division factoring and subgroup-lattice enumeration both have running costs that scale with d(n) rather than with n.
  • Database sharding and load-balancing designs favour counts with many divisors, so that the same data splits cleanly across different cluster sizes — a practical preference rather than a theoretical result.

이 생성기 사용법

생성된 값은 위쪽에 표시되고 옆에 복사 단추가 있습니다. 이미지로 만들려면 이미지 만들기의 스타일에서 모양을 고르고, 내보내기 크기를 정한 뒤 PNG·JPEG·WebP로 내려받으세요. 모두 브라우저에서 그려지므로 생성한 내용이 서버로 전송되지 않습니다.

작업하는 동안 주소창이 갱신되므로, 링크는 항상 지금 보이는 상태를 그대로 재현합니다. 특정 수열을 공유하거나 설정을 저장해 두기에 좋습니다. 값을 일반 텍스트로 가져가려면 복사를, CSV·JSON·NDJSON·SQL·XML이 필요하면 데이터 내보내기를 사용하세요.

출처

이 페이지의 역사적 설명은 위에 나열한 공개 라이선스 자료를 바탕으로 합니다. 잘못된 내용을 발견하셨나요? 알려주시면 바로잡겠습니다.