22 Ekim 2016 Cumartesi

Soru 9

Special Pythagorean triplet

Problem 9

A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,
a2 + b2 = c2
For example, 32 + 42 = 9 + 16 = 25 = 52.
There exists exactly one Pythagorean triplet for which a + b + c = 1000.
Find the product abc.

Özel Pisagor üçlüsü

Soru 9

Bir pisagor üçlüsü, a < b < c durumunu sağlayan üç adet doğal sayıdan oluşan ve bunlar,
a2 + b2 = c2
Denkliği de geçerlidir.

Örneğin, 32 + 42 = 9 + 16 = 25 = 52.
a + b + c = 1000 denkliğini geçerleyen yalnız bir pisagor üçlüsü mevcuttur.
abc çarpımını bulunuz

Python Kodu


18 Ekim 2016 Salı

Soru 7

10001st prime

Problem 7

By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
What is the 10 001st prime number?

10001 nci asal

Soru 7

2, 3, 5, 7, 11, ve 13 olarak llk altı asal sayıyı listelediğimizde, 6 ıncı asal sayının 13 olduğunu görebiliriz.
10 001inci asal sayı kaçtır?

Python Kodu

Alternatif çözüm 1 için
Alternatif çözüm 2 için

For alternative solution 1 
For alternative solution 2

Soru 5

Smallest multiple

Problem 5

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?

En Küçük Kat

Soru 5

2520 1 den 10 a kadar olan bütün sayılara kalansız bölünebilen en küçük sayıdır.

1 den 20 ye kadar olan bütün sayılara kalansız bölünebilen en küçük sayı kaçtır?

Python Kodu
For an alternative solution for this problem
Sorunun alternatif bir çözümü için

Soru 3

Largest prime factor

Problem 3

The prime factors of 13195 are 5, 7, 13 and 29.
What is the largest prime factor of the number 600851475143 ?

En büyük asal bölen

Soru 3

13195 sayısının asal bölenleri 5, 7, 13 and 29 dir.
600851475143 sayısının en büyük asal böleni kaçtır ?

Python Kodu