7월, 2022의 게시물 표시

프로젝트 오일러 도전기 #6 (with 파이썬 프로그래밍공부)

이미지
 문제 Sum square difference   The sum of the squares of the first ten natural numbers is, 1 2 + 2 2 + ... + 10 2 = 385 The square of the sum of the first ten natural numbers is, (1 + 2 + ... + 10) 2 = 55 2 = 3025 Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is 3025 - 385 = 2640 Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum. 1부터 100까지 "제곱의 합"과 "합의 제곱"의 차는? 1부터 10까지 자연수를 각각 제곱해 더하면 다음과 같습니다 (제곱의 합). 1 2 + 2 2 + ... + 10 2 = 385 1부터 10을 먼저 더한 다음에 그 결과를 제곱하면 다음과 같습니다 (합의 제곱). (1 + 2 + ... + 10) 2 = 55 2 = 3025 따라서 1부터 10까지 자연수에 대해 "합의 제곱"과 "제곱의 합" 의 차이는  3025 - 385 = 2640 이 됩니다. 그러면 1부터 100까지 자연수에 대해 "합의 제곱"과 "제곱의 합"의 차이는 얼마입니까?  

프로젝트 오일러 도전기 #5 (with 파이썬 프로그래밍공부)

이미지
문제 Smallest multiple 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? 1 ~ 20 사이의 어떤 수로도 나누어 떨어지는 가장 작은 수 1 ~ 10 사이의 어떤 수로도 나누어 떨어지는 가장 작은 수는 2520입니다. 그러면 1 ~ 20 사이의 어떤 수로도 나누어 떨어지는 가장 작은 수는 얼마입니까?

프로젝트 오일러 도전기 #4 (with 파이썬 프로그래밍공부)

이미지
문제 Largest palindrome product A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest palindrome made from the product of two 3-digit numbers. 세자리 수를 곱해 만들 수 있는 가장 큰 대칭수 앞에서부터 읽을 때나 뒤에서부터 읽을 때나 모양이 같은 수를 대칭수(palindrome)라고 부릅니다. 두 자리 수를 곱해 만들 수 있는 대칭수 중 가장 큰 수는 9009 (= 91 × 99) 입니다. 세 자리 수를 곱해 만들 수 있는 가장 큰 대칭수는 얼마입니까?

프로젝트 오일러 도전기 #3 (with 파이썬 프로그래밍공부)

이미지
문제 Largest prime factor The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? 가장 큰 소인수 구하기 어떤 수를 소수의 곱으로만 나타내는 것을 소인수분해라 하고, 이 소수들을 그 수의 소인수라고 합니다. 예를 들면 13195의 소인수는 5, 7, 13, 29 입니다. 600851475143의 소인수 중에서 가장 큰 수를 구하세요.

프로젝트 오일러 도전기 #2 (with 파이썬 프로그래밍공부)

이미지
 문제 Even Fibonacci numbers 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, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms. 피보나치 수열에서 4백만 이하이면서 짝수인 항의 합 피보나치(Fibonacci) 수열의 각 항은 바로 앞의 항 두 개를 더한 것입니다. 1과 2로 시작하는 경우 이 수열은 아래와 같습니다. 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... 4백만 이하의 짝수 값을 갖는 모든 피보나치 항을 더하면 얼마가 됩니까?

프로젝트 오일러 도전기 #1 (with 파이썬 프로그래밍공부)

이미지
문제 Multiples of 3 or 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 the sum of all the multiples of 3 or 5 below 1000.   1000보다 작은 자연수 중에서 3 또는 5의 배수를 모두 더하면?  10보다 작은 자연수 중에서 3 또는 5의 배수는 3, 5, 6, 9 이고, 이것을 모두 더하면 23입니다.  1000보다 작은 자연수 중에서 3 또는 5의 배수를 모두 더하면 얼마일까요?  

USB, 하드디스크 깔끔하게 포맷하기

이미지
usb를 깔끔하게 만드는 법 먼저 window키 + X를 눌러줍니다 그리고 A를 눌러주어서 windows powershell을 관리자로 열어줍니다 ㅇㅁㄹ