cmhardw
Premium Member
[thread hijack]
I'm doing the project Euler problems just with a TI-89 calculator. I can make simple programs on the TI calculators to help, but I'm mostly just doing the more number-theory-esque questions that require less programming in general.
For the first question you don't even need a calculator or a program at all. There is actually a very concise closed form formula for adding up all the number from 1 to n, even when you only want certain multiples out of those numbers.
I don't want to give it away too much, but the first problem is relatively easy if you use more math than programming.
[/thread hijack]
Chris
I'm doing the project Euler problems just with a TI-89 calculator. I can make simple programs on the TI calculators to help, but I'm mostly just doing the more number-theory-esque questions that require less programming in general.
For the first question you don't even need a calculator or a program at all. There is actually a very concise closed form formula for adding up all the number from 1 to n, even when you only want certain multiples out of those numbers.
I don't want to give it away too much, but the first problem is relatively easy if you use more math than programming.
[/thread hijack]
Chris