SRT Solutions

Blogs

Browse by Tags

  • Project Euler Problem Number 3

    Project Euler problem 3 reads as follows: The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? There are no special Python features here that really require explaining. The logic is also straightforward: find the smallest prime that divides evenly...
    Posted to Darrell Hawley Blog (Weblog) by dhawley on Fri, May 2 2008
  • Project Euler Problem 2

    Problem number 2 reads "Find the sum of all the even-valued terms in the Fibonacci sequence which do not exceed four million." The resolution to this problem is not quite as simple as the previous one, but it's not far off. def fib(maxFibNumber): a, b = 0, 1 while a < maxFibNumber: if...
    Posted to Darrell Hawley Blog (Weblog) by dhawley on Sat, Apr 12 2008
  • SRT Polyglotting Euler Problems

    I was first introduced to the term polyglot when I was in high school. Our French class did a presentation at a Foreign Language Day. I have this vague recollection that the theme of the day was "Polyglots Have More Fun". I've always liked the word, so I was thrilled to see Neal Ford using...
    Posted to SRT Insights (Weblog) by dmarsh on Tue, Apr 8 2008
  • Taking on Project Euler with Python

    Lately a number of posts on Project Euler , a series of predefined mathematical/computer science puzzles, have come to my attention. Bill Wagner has started a series of posts solving the Euler problems in C# and Dustin Campbell has posted one solution in F#. Several of my co-workers at SRT Solutions...
    Posted to Darrell Hawley Blog (Weblog) by dhawley on Sun, Apr 6 2008

In our last colurm, we wrote about how technical mentors can benefit companies ( Ann Arbor Business Review, May 22, 2008 ). In this installment, we're...