
MATLAB
悲伤成谶
这个作者很懒,什么都没留下…
展开
-
Project Euler Problem 3:Largest prime factor(MATLAB)
Project Euler Problem 3:Largest prime factor(MATLAB) Problem 3 The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? 该问题主要是判断一个数是否为素数 根据素数的定义可以有...原创 2019-12-01 17:09:37 · 323 阅读 · 0 评论 -
Project Euler_Problem 2:Even Fibonacci numbers(MATLAB)
Project Euler_Problem 2:Even Fibonacci numbers Problem 2 Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1,...原创 2019-12-01 14:14:18 · 227 阅读 · 0 评论 -
Project Euler_Problem 1(MATLAB)
Project Euler_Problem 1(MATLAB) problem 1 Multiples of 3 and 5 If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find th...原创 2019-12-01 14:05:01 · 238 阅读 · 0 评论