skip to main | skip to sidebar

Project Euler

Wednesday, August 27, 2008

Project Euler Problem #6

difference between square of sum and sum of squares:

>>> (101 * 50 * 101 * 50) - sum(map(lambda x: x * x, range(1,101)))
25164150
Posted by JoBro Hater #3 at 6:59 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2008 (36)
    • ►  October (9)
    • ►  September (17)
    • ▼  August (10)
      • Euler problem #10, sum of primes <2000000
      • Problem 9 Pythagorean triplet summing to 1000
      • Euler Problem 8: Find largest product of five cons...
      • Problem 7: FInd 10001st prime
      • Project Euler Problem #6
      • Problem #5: find smallest number evenly divisible ...
      • #4: Find largest palindrome produced by product of...
      • Project Euler #3: Find largest prime factor
      • Euler Problem #2: Fibonacci Numbers
      • First Problem: Find sum of all factors of 3 and 5 ...

About Me

JoBro Hater #3
View my complete profile