## Search found 14 matches

- Mon Jun 06, 2011 2:28 am
- Forum: Programming languages
- Topic: Pick a Language
- Replies:
**19** - Views:
**19788**

### Re: Pick a Language

A programming challenge is handling change propagation in distributed multi tier business applications. Each time I created an automated migrated process for a large scale production application had it's own unique challenges. But ultimately, the business rules that govern such a system have less a...

- Sat Jun 04, 2011 3:26 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 095
- Replies:
**28** - Views:
**7401**

### Re: Problem 095

Are you repeating the same calculation multiple times?xe3tec wrote:Could someone gimme a hint how to optimize for speed? I already optimized everything (as far as I know math ) but it still takes quite some time, sometimes.

- Sat Jun 04, 2011 1:01 am
- Forum: Programming languages
- Topic: Pick a Language
- Replies:
**19** - Views:
**19788**

### Re: Pick a Language

I have programmed the solutions to the problems on this site is Java. This is the language with which I have the most knowledge. Many (most, nearly all) of these problems require a significant amount of knowledge beyond what you know about your specific computer language. While solving these problem...

- Wed May 25, 2011 1:25 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 007
- Replies:
**50** - Views:
**12143**

### Re: Problem 007

I have variables that I am using to reference a point in the array, but those variables are longs In Java, an array index must be an int. For those that do not know Java, and int is a 32-bit integer. I get errors because it can't convert long to int or something. When using a long as an index to an...

- Mon May 23, 2011 2:39 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 012
- Replies:
**99** - Views:
**25909**

### Re: Problem 012

Yes, you are correct. When I wrote "factor", I was thinking "prime factor". Thanks for the clarification.TripleM wrote:Factor and divisor are synonyms and mean exactly the same thing.davidFashion wrote:A factor is not a divisor.

- Sun May 22, 2011 9:12 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 012
- Replies:
**99** - Views:
**25909**

### Re: Problem 012

my program(in java) is too slow to find the first factor with over 500 divisors. ... Other comments removed ... does anyone know a quicker way to find how many factors a number has? A factor is not a divisor. I would suggest reviewing your program to ensure that you are solving the requested proble...

- Wed May 18, 2011 6:33 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 014
- Replies:
**60** - Views:
**14245**

### Re: Problem 014

I don't see what I am doing wrong. I have a for loop going from a million down to two (I have tried the other way around also), and it checks if even or odd, and then does the correct formula, and then adds one to the count. For some reason, it is doing it only for the number 1 million, and then st...

- Sun May 15, 2011 1:08 am
- Forum: Number Theory
- Topic: Here's an interesting question -- Daffodil number problem
- Replies:
**6** - Views:
**4800**

### Re: Here's an interesting question -- Daffodil number probl

Very interesting! I conducted a training class in 2005 on Java performance tuning. The entire course was on a program that generated the Narcissistic numbers. We started the class with the default brute force program (for i = 1 to max - check if i is a narcissistic number). Then for each class, we d...

- Thu May 12, 2011 1:11 am
- Forum: Programming languages
- Topic: Java newbie
- Replies:
**2** - Views:
**1826**

### Re: Java newbie

I have used Eclipse for years, both personally and professionally. I would highly recommend this product.

- Mon May 02, 2011 5:06 pm
- Forum: Programming languages
- Topic: Netbeans ( java coding )
- Replies:
**2** - Views:
**2933**

### Re: Netbeans ( java coding )

Hi. Here is a complete program that shows how, when a button is pressed, that the information is read from the text field and displayed in a JOptionPane. Fundamentally, a Java ActionListener object is added to the button. At the place in the code where the ActionListener is added to the button, the ...

- Mon May 02, 2011 4:39 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 029
- Replies:
**18** - Views:
**5913**

### Re: Problem 29

For N = 12, distinct terms = 106.

For N = 13, distinct terms = 129.

For N = 13, distinct terms = 129.

- Mon Apr 04, 2011 9:34 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 013
- Replies:
**76** - Views:
**22272**

### Re: Skeptical that my answer is incorrect

I worked it out a couple of days ago. For the 50 digit summation one, I was giving the full answer not just the first 10 digits. The bizarre thing about the primes one was that I was using very different methods, including downloading the primes I needed, and getting the same answer! As it turns ou...

- Mon Mar 28, 2011 9:37 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 202
- Replies:
**24** - Views:
**8873**

### Re: Problem 202

I am close, but my number for 1000001 is off by 4. I'm getting 80844 instead of 80840. Can someone verify my answer for 227 bounces, 28 paths? That is, 19 paths per side but 5 of them exit before the required number of bounces. 121198 paths with 1000007 bounces? For 227, I also get 28 paths. For 10...

- Fri Mar 04, 2011 10:55 pm
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 319
- Replies:
**23** - Views:
**7584**

### Re: Problem 319

Are these correct:

t(2) = 5

t(3) = 23

t(4) = 83

t(5) = 293

t(6) = 937

t(7) = 2995

t(8) = 9235

t(9) = 28396

I am asking because my value for t(10) is incorrect.

t(2) = 5

t(3) = 23

t(4) = 83

t(5) = 293

t(6) = 937

t(7) = 2995

t(8) = 9235

t(9) = 28396

I am asking because my value for t(10) is incorrect.