| Random Link ¯\_(ツ)_/¯ | ||
| Feb 19, 2023 | » | 023. Non-Abundant Sums
9 min; updated Feb 19, 2023
#23 Non-abundant sums - Project Euler.
Problem StatementA perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For example, the sum of the proper divisors of \(28\) would be \(1 + 2 + 4 + 7 + 14 = 28\), which means that \(28\) is a perfect number. ... |
| Feb 18, 2022 | » | 022. Name Scores
5 min; updated Feb 18, 2022
#22 Names scores - Project Euler.
Problem StatementUsing For example, when the list is sorted into alphabetical order, COLIN, which is worth \(3 + 15 + 12 + 9 + 14 = 53\), is the 938th name in the list. So COLIN would obtain a score of \(938 \times 53 = 49{,}714\). ... |
| Jan 15, 2022 | » | 020. Factorial Digit Sum
1 min; updated Jan 15, 2022
Problem Statement\(n!\) means \(n \times (n - 1) \times … \times 3 \times 2 \times 1\). For example, \(10! = 10 \times 9 \times … \times 3 \times 2 \times 1 = 3628800\), and the sum of the digits in the number \(10!\) is \(3 + 6 + 2 + 8 + 8 + 0 + 0 = 27\). Find the sum of the digits in the number \(100!\) ... |
| Jan 7, 2022 | » | 019. Counting Sundays
6 min; updated Jan 7, 2022
Problem StatementYou are given the following information, but you may prefer to do some research for yourself:
How many Sundays fell on the first of the month during the twentieth century (1 Jan 1901 to 31 Dec 2000)? ... |
| Jan 7, 2022 | » | Project Euler
(5 items)
019. Counting Sundays; 020. Factorial Digit Sum; 021. Amicable Numbers; 022. Name Scores; 023. Non-Abundant Sums; |
| Feb 6, 2021 | » | 021. Amicable Numbers
8 min; updated Feb 6, 2021
Problem StatementLet \(d(n)\) be defined as the sum of proper divisors of \(n\) (numbers less than \(n\) which divide evenly into \(n\)). If \(d(a) = b\) and \(d(b) = a\), where \(a \neq b\), then \(a\) and \(b\) are an amicable pair and each of \(a\) and \(b\) are called amicable numbers. For example, the proper divisors of \(220\) are \(1, 2, 4, 5, 10, 11, 20, 22, 44, 55, 110\); therefore \(d(220) = 284\). The proper divisors of \(284\) are \(1, 2, 4, 71, 142\); so \(d(284) = 220\). ... |