プロジェクト

全般

プロフィール

Problem 34 » 履歴 » バージョン 1

Noppi, 2024/01/13 14:35

1 1 Noppi
[ホーム](https://redmine.noppi.jp) - [[Wiki|Project Euler]]
2
# [[Problem 34]]
3
4
## Digit Factorials
5
$145$ is a curious number, as $1! + 4! + 5! = 1 + 24 + 120 = 145$.
6
7
Find the sum of all numbers which are equal to the sum of the factorial of their digits.
8
9
Note: As $1! = 1$ and $2! = 2$ are not sums they are not included.
10
11
## 桁の階乗
12
145は面白い数である. 1! + 4! + 5! = 1 + 24 + 120 = 145となる.
13
14
各桁の数の階乗の和が自分自身と一致するような数の和を求めよ.
15
16
**注:** 1! = 1 と 2! = 2 は総和に含めてはならない.
17
18
```scheme
19
```