Project Euler – problem 3 in Ruby
Contact me at LinkedIn  RailsZilla at Facebook  RailsZilla at twitter   google +1  Contact me at Xing  connect me at github

Project Euler – problem 3 in Ruby

Posted in coffee break, Ruby

This is part three of our mathematical soultions-series in Project Euler: The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? Now we can have a short and a detailed version to solve this problem. The short one is nearly a joke with […]

Tags: , , ,

Project Euler – problem 2 in Ruby

Posted in coffee break, Ruby

Hi folks, this is part two of our soultions-series for the mathematical problems in Project Euler. Project Euler – problem number two: “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, […]

Tags: , , , , , ,

prime numbers with ruby

Posted in coffee break, Ruby

In the last two weeks I was reading a lot about prime numbers. As a child I started to love these special numbers. The Definition of a Prime number is, that it is a natural number greater than 1 that has no positive divisors other than 1 and itself. There are different methods and ways […]

Tags: , , , , , ,