Chris Bowden

sql and primes, mostly

  • Thoughts
  • Education
  • Projects
  • Interests
  • Resume
  • Project Euler Problem #4 – Palindromic Numbers

    Problem 4 asks us to “Find the largest palindrome made from the product of two 3-digit numbers.” First we know our maximum factor is 999, which safely puts our possible palindromes in the 6 digit range. This is important because of the proof that all even-digit palindromes have 11 as a factor. I use this…

  • Project Euler Problem #3 Complete!

    Problem #3 asks: “What is the largest prime factor of the number 600,851,475,143?” Barring a naive, “brute-force” approach, the real question becomes: “How can we decompose any number, n, into prime factors?” I approached the problem by deciding to iterate through 2 and the rest of the odd naturals less than sqrt(n). Again, simply trying…

Previous Page
1 … 17 18 19 20
Next Page
  • Subscribe Subscribed
    • Chris Bowden
    • Already have a WordPress.com account? Log in now.
    • Chris Bowden
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar