• 摘要视图
  • 目录视图

Problem 33 Digit canceling fractions

Problem 33: Digit cancelling fractions

https://projecteuler.net/problem=33

The fraction 49/98 is a curious fraction, as an inexperienced mathematici[……]

>> 阅读全文…

Problem 32 Pandigital products

Problem 32: Pandigital products

https://projecteuler.net/problem=32

We shall say that an n-digit number is pandigital if it makes use of all the dig[……]

>> 阅读全文…

Problem 31 Coin sums

Problem 31: Coin sums

https://projecteuler.net/problem=31

In the United Kingdom the currency is made up of pound (£) and pence (p). There are eight[……]

>> 阅读全文…

Problem 30 Digit fifth powers

Problem 30: Digit fifth powers

https://projecteuler.net/problem=30

Surprisingly there are only three numbers that can be written as the sum of fourt[……]

>> 阅读全文…

Problem 29 Distinct powers

Problem: Distinct powers

https://projecteuler.net/problem=29

nsider all integer combinations of ab for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5:

Problem 28 Number spiral diagonals

Problem 28: Number spiral diagonals

https://projecteuler.net/problem=28

Starting with the number 1 and moving to the right in a clockwise direction[……]

>> 阅读全文…

Problem 27 Quadratic primes

Problem 27: Quadratic primes

Euler discovered the remarkable quadratic formula:

n² + n + 41

It turns out that the formula will produce 40 primes for t[……]

>> 阅读全文…

Problem 26 Reciprocal cycles

Problem 26: Reciprocal cycles

https://projecteuler.net/problem=26

分析

1/6 = 0.1(6) 表示0.16666…,拥有 1 位数字的重复周期

1/7=0.(142857) 拥有6位的重复周期

找到d < 1000,[……]

>> 阅读全文…

Problem 25 1000-digit Fibonacci number

Problem 25: 1000-digit Fibonacci number

The Fibonacci sequence is defined by the recurrence relation:

Fn = Fn−1 + Fn−2, where F1 = 1 and F2= 1.

Hence[……]

>> 阅读全文…

Problem 24 Lexicographic permutations

Problem 24: Lexicographic permutations

https://projecteuler.net/problem=24

A permutation is an ordered arrangement of objects. For example, 3124 is[……]

>> 阅读全文…

Problem 23 Non-abundant sums

Problem 23: Non-abundant sums

https://projecteuler.net/problem=23

A perfect number is a number for which the sum of its proper divisors is exactly e[……]

>> 阅读全文…

Problem 22 Names scores

Problem 22: Names scores

https://projecteuler.net/problem=22

Using names.txt (right click and ‘Save Link/Target As…’), a 46K text file containing[……]

>> 阅读全文…

Problem 21 Amicable numbers

Problem 21: Amicable numbers

https://projecteuler.net/problem=21

Let d(n) be defined as the sum of proper divisors of n (numbers less than n which d[……]

>> 阅读全文…

Problem 20 Factorial digit sum

Problem 20: Factorial digit sum

https://projecteuler.net/problem=20

n! means n × (n − 1) × … × 3 × 2 × 1

For example, 10! = 10 × 9 × … × 3 × 2 ×[……]

>> 阅读全文…

Problem 19 Counting Sundays

Problem 19: Counting Sundays

https://projecteuler.net/problem=19

You are given the following information, but you may prefer to do some research for[……]

>> 阅读全文…