Courses‎ > ‎Intro to CS - Full Year‎ > ‎Spring‎ > ‎Dyrland-Weaver‎ > ‎Work‎ > ‎

Work 13: 3/6

posted Mar 6, 2019, 10:47 AM by JonAlf Dyrland-Weaver   [ updated Mar 6, 2019, 11:42 AM ]
  • This is a pair programming assignment. With your table buddy do the following:
  • Go to http://projecteuler.net/problems
  • Solve problems 1, 6 and 5
  • If you've completed them, work on more.
  • The functions you write should return the answer.
  • Important notes:
    • Some of these problems are simple, many of them are difficult.
    • For some of these problems it will be quite helpful to write multiple functions.
    • SUPER HELPFUL CODING TIP
      • Use print statements inside your loops to see what is happening to your variables
      • Some of your loops may go intentionally go on for a while
  • Your completed assignment should have functions and tests in it.
submit this as euler

Here are solutions for the first 50 problems:
Problem 001: 233168
Problem 002: 4613732
Problem 003: 6857
Problem 004: 906609
Problem 005: 232792560
Problem 006: 25164150
Problem 007: 104743
Problem 008: 40824
Problem 009: 31875000
Problem 010: 142913828922
Problem 011: 70600674
Problem 012: 76576500
Problem 013: 5537376230
Problem 014: 837799
Problem 015: 137846528820
Problem 016: 1366
Problem 017: 21124
Problem 018: 1074
Problem 019: 171
Problem 020: 648
Problem 021: 31626
Problem 022: 871198282
Problem 023: 4179871
Problem 024: 2783915460
Problem 025: 4782
Problem 026: 983
Problem 027: -59231
Problem 028: 669171001
Problem 029: 9183
Problem 030: 443839
Problem 031: 73682
Problem 032: 45228
Problem 033: 100
Problem 034: 40730
Problem 035: 55
Problem 036: 872187
Problem 037: 748317
Problem 038: 932718654
Problem 039: 840
Problem 040: 210
Problem 041: 7652413
Problem 042: 162
Problem 043: 16695334890
Problem 044: 5482660
Problem 045: 1533776805
Problem 046: 5777
Problem 047: 134043
Problem 048: 9110846700
Problem 049: 296962999629
Problem 050: 997651
Comments