# Dirac가 2 네 개로 모든 정수를 만드는 퍼즐을 단숨에 끝내버린 방법

Original title: Making any integer with four 2s (2025)

> Hacker News story 50408713 · language: ko · submitted 2026-11-07
> Web version: https://zeli.app/ko/story/50408713
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 207 · by [germanrabbit](<https://news.ycombinator.com/user?id=germanrabbit>) · 💬 53
[original](<https://eli.thegreenplace.net/2025/making-any-integer-with-four-2s/>) · [HN discussion](<https://news.ycombinator.com/item?id=50408713>)

## Summary

2를 정확히 네 번 써서 원하는 자연수를 만드는 수학 퍼즐은 초등학생의 사칙연산부터 대학생의 복소수·적분까지 실력에 따라 난이도가 달라진다. 1920년대 수학자들의 인기 놀이였던 이 퍼즐은 Paul Dirac이 중첩 제곱근과 밑이 2인 로그를 조합한 일반 공식을 제시하면서 사실상 종결됐다. 2를 세 번만 쓰는 공식이지만 2를 log₂2로 바꿔 네 개로 맞출 수 있다.

## Key quote

> 1920년대 수학자들이 즐기던 오락이었는데, Paul Dirac이 모든 수에 대한 일반 해를 찾아내면서 모두의 재미를 망쳐버렸다.

## HN discussion (53 comments)

### [hahajk](<https://news.ycombinator.com/item?id=50409769>)

> 다들 자기만의 규칙으로 놀겠지만, 내 관점에서는 제곱근은 2를 하나 소모해 - +나 ! 같은 연산자가 아니잖아. 세제곱근이나 네제곱근을 취할 수도 있으니까 암묵적인 "2"가 있는 셈이지

### [bajard](<https://news.ycombinator.com/item?id=50411229>)

> 22는 반칙이야. 왜냐하면 22 = 2*10+2는 10진법에서 임의적이거든. 어떤 진법으로 22를 쓴다면 그 진법을 써야 하고, 그건 추가적인 숫자니까.

### [adas0693](<https://news.ycombinator.com/item?id=50409188>)

> 관련된 문제가 하나 있어 (지금은 구글의 일부인 ITA 소프트웨어의 면접 질문에서 영감을 받았지). [2,9] 범위의 숫자 K를 N번 사용해서 사칙연산과 괄호(+, -, *, /, (, ))가 포함된 식으로 표현할 수 없는 가장 작은 양의 정수를 찾는 문제야. 문제를 더 흥미롭게 만들기 위해 연산 목록에 거듭제곱과 이어붙이기를 추가할 수도 있어. 예를 들어, N=4이고 K가 [2,9]일 때 사칙연산만 사용하면: 7은 2를 4번 써서 계산할 수 없고; 11은 3을 4번 써서 계산할 수 없고; 10은 4를 4번 써서 계산할 수 없고; 8은 5를 4번 써서 계산할 수 없고; 9는 6을 4번 써서 계산할 수 없고; 4는 7을 4번 써서 계산할 수 없고; 5는 8을 4번 써서 계산할 수 없고; 4는 9를 4번 써서 계산할 수 없어.

### [gnabgib](<https://news.ycombinator.com/item?id=50408765>)

> 작년에 인기 있었던 글 (368점, 댓글 165개) https://news.ycombinator.com/item?id=43145753

### [allywilson](<https://news.ycombinator.com/item?id=50411490>)

> 그냥 여기다 던져둘게 (그래, 2 대신 4야 - 두 배로 좋은 거지): https://fourmula.awsum.info/

---

## Cite

- Page: https://zeli.app/ko/story/50408713
- Date: 2026-11-07
- Source: eli.thegreenplace.net (https://eli.thegreenplace.net/2025/making-any-integer-with-four-2s/)
- Hacker News: https://news.ycombinator.com/item?id=50408713

## Other languages

- en: https://zeli.app/story/50408713 · markdown: https://zeli.app/story/50408713.md
- zh: https://zeli.app/zh/story/50408713 · markdown: https://zeli.app/zh/story/50408713.md
- ja: https://zeli.app/ja/story/50408713 · markdown: https://zeli.app/ja/story/50408713.md
- de: https://zeli.app/de/story/50408713 · markdown: https://zeli.app/de/story/50408713.md
- es: https://zeli.app/es/story/50408713 · markdown: https://zeli.app/es/story/50408713.md
- ru: https://zeli.app/ru/story/50408713 · markdown: https://zeli.app/ru/story/50408713.md
