This website requires JavaScript.
01cc1c5f78
fix method names.
Charles Reid
2017-07-10 21:38:16 -07:00
5cb3b250e8
updating problem 67with two counterexamples.
Charles Reid
2017-07-10 21:36:25 -07:00
4c0b501ae1
add makefile for problem 67.
Charles Reid
2017-07-10 21:35:14 -07:00
c97d796ba5
cleanup javadoc for Problem 67.
Charles Reid
2017-07-10 21:34:49 -07:00
3fd66acc65
Adding Problem 67 brute force and attempted subtriangle solution.
Charles Reid
2017-07-10 21:28:32 -07:00
8385ae2bae
Adding binomial coefficient calculator.
Charles Reid
2017-07-10 20:06:34 -07:00
d89992408b
Problem 18 fixing Path.
Charles Reid
2017-07-10 19:43:24 -07:00
f3c732de51
Problem 18 clean up output.
Charles Reid
2017-07-10 19:42:52 -07:00
31c0c8425b
notes on fix.
Charles Reid
2017-07-10 18:28:21 -07:00
de491878a6
adding brute force solution. path/subtree sum solution was partially correct, path forward for fixing Path has been identified.
Charles Reid
2017-07-10 18:26:51 -07:00
8acd36522e
finishing another round of debugging.
Charles Reid
2017-07-09 04:03:42 -07:00
c8511fdc0a
inching closer...
Charles Reid
2017-07-09 04:02:27 -07:00
c1c74ff8aa
In the midst of debugging - but we are finding triplet divisible numbers up to 1E8 in 7 s.
Charles Reid
2017-07-09 03:59:18 -07:00
fac817b2fe
adding problem 501, replicating example data given in problem.
Charles Reid
2017-07-09 03:20:00 -07:00
672a5bffce
removing more bugs from long segmented prime sieve.
Charles Reid
2017-07-09 03:06:15 -07:00
bbbe49cce7
Fix qInit function to be correct, and faster.
Charles Reid
2017-07-09 02:11:05 -07:00
e5f50a0955
updates to 501 makefile
Charles Reid
2017-07-09 01:45:36 -07:00
00b792b2c9
we are getting closer to a feasible solution, but we have regressed. f(100) is now 13 instead of 10.
Charles Reid
2017-07-09 01:42:28 -07:00
bc191f9fae
adding Long version of prime generator. faster by factor of 4.
Charles Reid
2017-07-09 01:16:09 -07:00
7fc5be1c23
PrimeGenerator - reduced amount of time spent on qInit by 100%.
Charles Reid
2017-07-08 23:37:06 -07:00
e739f06546
adjusting qk calculation, since that is the biggest bottleneck - about 50% of calcualtion.
Charles Reid
2017-07-08 22:21:11 -07:00
2ada856952
Bringing in the big gusn - JIP profiler.
Charles Reid
2017-07-08 21:57:09 -07:00
ddc6b6d7e8
Updating prime generator - generates primes correctly, but slower than expected...
Charles Reid
2017-07-08 20:58:37 -07:00
c6ca53dd60
accidental commit of method not used.
Charles Reid
2017-07-08 20:57:40 -07:00
f0d508b2bc
Ironing out details with prime range function.
Charles Reid
2017-07-08 20:33:23 -07:00
1e929d04ca
Just kidding. NOW primes range actually works.
Charles Reid
2017-07-08 20:06:54 -07:00
dd4cdf4d53
Prime generator class - primes range method working.
Charles Reid
2017-07-08 19:57:01 -07:00
d21eeb5161
adding not-quite-functional version of prime generator, for backup.
Charles Reid
2017-07-08 17:40:32 -07:00
cdab5dd627
adding continued fraction problem solution (057)
Charles Reid
2017-07-08 15:19:58 -07:00
aa69425168
Updating BOP class with clarifying comment and adding problem.
Charles Reid
2017-07-08 15:18:40 -07:00
a74238f2f7
clean up javadoc in 102.
Charles Reid
2017-07-08 15:17:46 -07:00
360d703d8e
adding solution to problem 102 - triangles containing origin.
Charles Reid
2017-07-08 14:36:06 -07:00
2c6883525d
adding 058 problem statement
Charles Reid
2017-07-08 02:40:12 -07:00
d6c96bedac
adding problem statements for 018 and 019
Charles Reid
2017-07-08 02:28:36 -07:00
5a71ec62ec
adding problem 101 makefile
Charles Reid
2017-07-08 01:45:37 -07:00
9006d77b43
committing finished version of BOP from day ago.
Charles Reid
2017-07-08 01:45:22 -07:00
c1eb0f96cb
yay!
Charles Reid
2017-07-08 01:44:40 -07:00
31b68f5d12
Adding algorithm to generate primes in a stream, i.e., starting from m and going to n.
Charles Reid
2017-07-07 16:53:52 -07:00
101fe9a3d3
Adding working version of test for 8 divisors, problem 501.
Charles Reid
2017-07-07 13:22:20 -07:00
39cc30bc93
Adding working test version for optimal polynomial solution.
Charles Reid
2017-07-07 01:38:53 -07:00
4f48237b6b
Lychrel number, yet another one to practice palindromes.
Charles Reid
2017-07-06 20:25:29 -07:00
193cbd2416
add make clean command.
Charles Reid
2017-07-06 19:54:05 -07:00
15d67b3ca8
Adding Euler Solution interface, Euler Test class, and first problem using this format.
Charles Reid
2017-07-06 19:53:38 -07:00
c29d3b2635
adding java directory, with proper unit tests.
Charles Reid
2017-07-06 19:52:11 -07:00
abc8304f23
Update Poker solution - straight check was broken. Everythign now working.
Charles Reid
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.
Charles Reid
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.
Charles Reid
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.
Charles Reid
2017-07-06 03:48:12 -07:00
c756600292
adding initial version that parses poker hands.
Charles Reid
2017-07-05 02:59:03 -07:00
681f4186c7
cleanup for problem 100.
Charles Reid
2017-07-05 02:35:53 -07:00
7ec81b86a4
adding 20.
Charles Reid
2017-07-05 02:35:04 -07:00
4a6ff8e5f4
adding makefile
Charles Reid
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.
Charles Reid
2017-07-05 02:28:46 -07:00
9c9064864d
unsuccessful in finding solution to PE 100 with integer square root idea...
Charles Reid
2017-07-05 02:04:37 -07:00
c7c36031f9
fixing up problem 501 statement
Charles Reid
2017-07-04 21:17:10 -07:00
98f5cccf3a
Adding 053, combinatoric values greater than 1 million.
Charles Reid
2017-07-04 21:04:27 -07:00
00448f77ad
not using this.
Charles Reid
2017-07-04 20:08:05 -07:00
c99c655cd0
Adding permuted multiples problem - program design was central.
Charles Reid
2017-07-04 19:56:08 -07:00
6ec861c133
adding sums of digits of powers of 2 checker.
Charles Reid
2017-07-04 19:27:19 -07:00
aba2868380
Adding number letter counts script. Interval thinking, and method chaining.
Charles Reid
2017-07-04 19:07:49 -07:00
b2414b216f
Add 016, sum of digits of 2**1000. Very quick with BigInteger.
Charles Reid
2017-07-04 17:37:21 -07:00
0205bb16e9
updating readme.
Charles Reid
2017-07-02 13:37:33 -07:00
dce13543dc
Committing actual problem solution.
Charles Reid
2017-07-02 13:27:26 -07:00
fb464af82d
todo item for problem 500.
Charles Reid
2017-07-02 04:45:33 -07:00
7a95cb5970
add javadocs, make the size M of our candidate number a parameter.
Charles Reid
2017-07-02 03:22:54 -07:00
e07859aa08
Adding problem 51 - worked out example.
Charles Reid
2017-07-02 03:13:13 -07:00
de2a0b34fc
adding makefile for problem 12
Charles Reid
2017-07-01 23:57:56 -07:00
12fd3b6144
add problem file to problem 11.
Charles Reid
2017-07-01 23:57:36 -07:00
79996da29c
adding (untracked??) problem 10 solution.
Charles Reid
2017-07-01 23:57:18 -07:00
6f72dac3af
renaming problem 001 file.
Charles Reid
2017-07-01 23:56:35 -07:00
2b92edec31
adding a working, but mod-less, answer to problem 500.
Charles Reid
2017-07-01 23:55:20 -07:00
44d6363218
update collatz recursive version and makefile.
Charles Reid
2017-07-01 01:29:07 -07:00
21bf8ab918
Adding a version of Collatz sequence program that does not use recursion.
Charles Reid
2017-07-01 01:28:35 -07:00
50dfb93684
Updating problem.txt files for each problem.
Charles Reid
2017-06-30 20:15:40 -07:00
24df376856
Adding supplementary problem files for Problem 13, Digit Sum.
Charles Reid
2017-06-30 20:11:57 -07:00
f5dd691b95
removing unneeded javadocs comment.
Charles Reid
2017-06-30 20:11:04 -07:00
7d0edf8ef8
Adding Digit Sum problem.
Charles Reid
2017-06-30 20:10:28 -07:00
819240a40a
adding note on possible fix.
Charles Reid
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.
Charles Reid
2017-06-30 13:14:39 -07:00
6b16e9a914
Committing triangular number program.
Charles Reid
2017-06-30 12:47:33 -07:00
478c828ac2
add problem 11 solution.
Charles Reid
2017-06-29 14:24:37 -07:00
1536374334
Adding problem 9 for project euler.
Charles Reid
2017-06-23 19:57:50 -07:00
479846e123
adding problem 4 solution. That was easy.
Charles Reid
2017-06-23 18:46:14 -07:00
a7d1cd78d4
moving each problem to own directory.
Charles Reid
2017-06-17 23:50:42 -07:00
1d96e0fdc7
adding 008 directory with updated/working problem 8.
Charles Reid
2017-06-17 23:48:53 -07:00
630c51b975
add updates to makefile.
Charles Reid
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.
Charles Reid
2017-06-17 23:35:52 -07:00
3678ad857d
try again later...
Charles Reid
2017-06-17 01:59:03 -07:00
d2902fab6f
try again later.
Charles Reid
2017-06-17 01:58:42 -07:00
f204db9525
Problem 8 clean up printed messages.
Charles Reid
2017-06-17 00:52:24 -07:00
661fead5da
Adding problem 8 solution - finding longest subsequence.
Charles Reid
2017-06-17 00:51:15 -07:00
978ae0d8b1
Adding problem 4 solution.
Charles Reid
2017-06-16 04:48:29 -07:00
f2fcd7840e
Add 7 to makefile.
Charles Reid
2017-06-16 04:48:14 -07:00
125c3bca5d
adding comment
Charles Reid
2017-06-15 13:47:07 -07:00
3bc8ca0419
adding problem 6 solution - sums and squares.
Charles Reid
2017-06-15 11:05:51 -07:00
35394e19db
adding problem 5 - least common multiple question.
Charles Reid
2017-06-15 10:55:50 -07:00
11caa87233
updating makefile and adding problem 7 finding 10,001st prime number
Charles Reid
2017-06-14 23:54:53 -07:00
ffc6e112b5
adding problem 1 and 2 Java files.
Charles Reid
2017-06-14 17:19:58 -07:00
ac01ebea84
add all 3 problems to Makefile
Charles Reid
2017-06-14 17:19:40 -07:00
c43747b8de
Adding greatest prime factor program.
Charles Reid
2017-06-14 17:18:49 -07:00