263 Commits

Author SHA1 Message Date
101fe9a3d3 Adding working version of test for 8 divisors, problem 501. 2017-07-07 13:22:20 -07:00
39cc30bc93 Adding working test version for optimal polynomial solution. 2017-07-07 01:38:53 -07:00
4f48237b6b Lychrel number, yet another one to practice palindromes. 2017-07-06 20:25:29 -07:00
193cbd2416 add make clean command. 2017-07-06 19:54:05 -07:00
15d67b3ca8 Adding Euler Solution interface, Euler Test class, and first problem using this format. 2017-07-06 19:53:38 -07:00
c29d3b2635 adding java directory, with proper unit tests. 2017-07-06 19:52:11 -07:00
abc8304f23 Update Poker solution - straight check was broken. Everythign now working. 2017-07-06 15:55:05 -07:00
72f3432b47 Committing finished versions of all methods, plus some major bug fixes. All five tests passing now. 2017-07-06 15:17:15 -07:00
dc6bdbc87b Adding powerful digit sum. Sometimes it is a matter of knowing when to use the brute force solution. 2017-07-06 12:34:54 -07:00
ce9f95df69 Making progress. Have laid out tests, poker hand class, comparators, and poker cards. Finished implementing several outcomes, have a few left to go. 2017-07-06 03:48:12 -07:00
c756600292 adding initial version that parses poker hands. 2017-07-05 02:59:03 -07:00
681f4186c7 cleanup for problem 100. 2017-07-05 02:35:53 -07:00
7ec81b86a4 adding 20. 2017-07-05 02:35:04 -07:00
4a6ff8e5f4 adding makefile 2017-07-05 02:29:18 -07:00
e2d5860f5e Finally got this one. Have to update n and b, simultaneously, after computing their new values. 2017-07-05 02:28:46 -07:00
9c9064864d unsuccessful in finding solution to PE 100 with integer square root idea... 2017-07-05 02:04:37 -07:00
c7c36031f9 fixing up problem 501 statement 2017-07-04 21:17:10 -07:00
98f5cccf3a Adding 053, combinatoric values greater than 1 million. 2017-07-04 21:04:27 -07:00
00448f77ad not using this. 2017-07-04 20:08:05 -07:00
c99c655cd0 Adding permuted multiples problem - program design was central. 2017-07-04 19:56:08 -07:00
6ec861c133 adding sums of digits of powers of 2 checker. 2017-07-04 19:27:19 -07:00
aba2868380 Adding number letter counts script. Interval thinking, and method chaining. 2017-07-04 19:07:49 -07:00
b2414b216f Add 016, sum of digits of 2**1000. Very quick with BigInteger. 2017-07-04 17:37:21 -07:00
0205bb16e9 updating readme. 2017-07-02 13:37:33 -07:00
dce13543dc Committing actual problem solution.
This expands the 1-digit example *3 into a routine that
replaces 2 and 3 digits. Knowing that we had to go past 2
took a while.
2017-07-02 13:27:26 -07:00
fb464af82d todo item for problem 500. 2017-07-02 04:45:33 -07:00
7a95cb5970 add javadocs, make the size M of our candidate number a parameter. 2017-07-02 03:22:54 -07:00
e07859aa08 Adding problem 51 - worked out example. 2017-07-02 03:13:13 -07:00
de2a0b34fc adding makefile for problem 12 2017-07-01 23:57:56 -07:00
12fd3b6144 add problem file to problem 11. 2017-07-01 23:57:36 -07:00
79996da29c adding (untracked??) problem 10 solution. 2017-07-01 23:57:18 -07:00
6f72dac3af renaming problem 001 file. 2017-07-01 23:56:35 -07:00
2b92edec31 adding a working, but mod-less, answer to problem 500.
Note that this will completely blow up with large inputs.
However, it is working for small inputs, i.e., we can find
numbers with 2^4, 2^5, 2^6, etc. factors correctly
(checked with Wolfram Alpha).
2017-07-01 23:55:20 -07:00
44d6363218 update collatz recursive version and makefile. 2017-07-01 01:29:07 -07:00
21bf8ab918 Adding a version of Collatz sequence program that does not use recursion. 2017-07-01 01:28:35 -07:00
50dfb93684 Updating problem.txt files for each problem. 2017-06-30 20:15:40 -07:00
24df376856 Adding supplementary problem files for Problem 13, Digit Sum. 2017-06-30 20:11:57 -07:00
f5dd691b95 removing unneeded javadocs comment. 2017-06-30 20:11:04 -07:00
7d0edf8ef8 Adding Digit Sum problem. 2017-06-30 20:10:28 -07:00
819240a40a adding note on possible fix. 2017-06-30 13:17:09 -07:00
e489a107ae have a viable solution, but it is recursive and throws a stack overflow error 10% through the problem. 2017-06-30 13:14:39 -07:00
6b16e9a914 Committing triangular number program. 2017-06-30 12:47:33 -07:00
478c828ac2 add problem 11 solution. 2017-06-29 14:24:37 -07:00
1536374334 Adding problem 9 for project euler. 2017-06-23 19:57:50 -07:00
479846e123 adding problem 4 solution. That was easy. 2017-06-23 18:46:14 -07:00
a7d1cd78d4 moving each problem to own directory. 2017-06-17 23:50:42 -07:00
1d96e0fdc7 adding 008 directory with updated/working problem 8. 2017-06-17 23:48:53 -07:00
630c51b975 add updates to makefile. 2017-06-17 23:36:40 -07:00
89f6913e3a adding problem 8 - kicker was recognizing that 13 digits is just above 32 bytes. we are trying to find a number greater than 2**32. 2017-06-17 23:35:52 -07:00
3678ad857d try again later... 2017-06-17 01:59:03 -07:00