{"id":48,"date":"2012-07-30T02:06:11","date_gmt":"2012-07-30T02:06:11","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/signal\/?p=48"},"modified":"2012-07-30T02:12:36","modified_gmt":"2012-07-30T02:12:36","slug":"project-euler-a-great-learning-tool","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/signal\/2012\/07\/30\/project-euler-a-great-learning-tool\/","title":{"rendered":"Project Euler &#8211; A Great Learning Tool"},"content":{"rendered":"<p><a href=\"http:\/\/blogs.law.harvard.edu\/signal\/files\/2012\/07\/Leonhard_Euler.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-50\" style=\"margin-top: 5px; margin-bottom: 5px; margin-left: 10px; margin-right: 10px;\" title=\"Leonhard_Euler\" src=\"http:\/\/blogs.law.harvard.edu\/signal\/files\/2012\/07\/Leonhard_Euler-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a>I am planning on taking CSCI E-160 next semester\u00a0<em>Java for Distributed Computing<\/em>, but one of my issues is that its been sometime since I have actually used Java. \u00a0I did get my foundations in Java while a computer science undergrad at Louisiana State University, unfortunately that was eight years ago. \u00a0Java has never been my &#8220;goto&#8221; language for quick and dirty hacking, that has always been a script language such as Perl. \u00a0So the task before me was to try to brush up on my Java knowledge and as I was doing so I discovered <a title=\"Project Euler\" href=\"http:\/\/projecteuler.net\">Project Euler<\/a>.<\/p>\n<p>Project Euler presents you with over 300 computational problems designed to be solved with computer programs. \u00a0There is a whole community of people that have worked to solve these problems. \u00a0The problems have varying levels of difficulty and the tools to solve them are up to the user. \u00a0Many of the users use C, Java, x86 assembly, however there are many using languages such as Delphi, Pascal, PHP, etc. \u00a0Part of the fun in solving the problems is to review others solutions, something you can only do once you have submitted your own. \u00a0Many of the users are math\/science geeks and have extremely clever ways of solving problems. \u00a0For example, today I solved a problem using primes, which led me to the paper <a href=\"http:\/\/www.cs.hmc.edu\/~oneill\/papers\/Sieve-JFP.pdf\">The Genuine Sieve of Eratosthenes<\/a>\u00a0by <a href=\"http:\/\/www.cs.hmc.edu\/~oneill\/\">Melissa E. O&#8217;Neill<\/a>. \u00a0This showed one of the most efficient algorithms used with discovering prime factors&#8230;.of course I had already written my Java code. \u00a0The point is however, that you learn your programming language at the same time you are learning some pretty good information on math and algorithms.<\/p>\n<p>So far I have only completed a handful of the Project Euler problems, however I actually find it an interesting aside to try to solve them when i am trying to take my mind off something else. \u00a0They are fun, and that&#8217;s the point of the site.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am planning on taking CSCI E-160 next semester\u00a0Java for Distributed Computing, but one of my issues is that its been sometime since I have actually used Java. \u00a0I did get my foundations in Java while a computer science undergrad at Louisiana State University, unfortunately that was eight years ago. \u00a0Java has never been my [&hellip;]<\/p>\n","protected":false},"author":4602,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/signal\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/signal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/signal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/signal\/wp-json\/wp\/v2\/users\/4602"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/signal\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":4,"href":"https:\/\/archive.blogs.harvard.edu\/signal\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":51,"href":"https:\/\/archive.blogs.harvard.edu\/signal\/wp-json\/wp\/v2\/posts\/48\/revisions\/51"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/signal\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/signal\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/signal\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}