Problem 001
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
In particular don't post any code fragments or results.
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 001
You couldn't have explained it clearer.

War ruins the life and health of untold numbers of innocent children.
-
agrubner
- Posts: 8
- Joined: Fri Feb 17, 2012 12:19 pm
Re: Problem 001
Dear hk
Sorry for asking again... . I did now with the calculation (add the subsums and subtract the duplicate sum) and entered that to the website with the question. I still have not a correct result and I do not know why. The value for <35 was correct - can you give me another checkpoint, where you can say, that this value is correct please?
The other question is, how can I post a value? It is recommended not to publish code or results because of others doing the same. I agree to that, but how can I come closer to the solution. I need your check. When I add an attachment - is it free for all forum users?
Thanks again.
Cheers
Alex
ADDENDUM:
I managed to resolve it and I have done my first question! Now, I will move to the second question! Thanks for your help, will write again, when I have other questions.
Sorry for asking again... . I did now with the calculation (add the subsums and subtract the duplicate sum) and entered that to the website with the question. I still have not a correct result and I do not know why. The value for <35 was correct - can you give me another checkpoint, where you can say, that this value is correct please?
The other question is, how can I post a value? It is recommended not to publish code or results because of others doing the same. I agree to that, but how can I come closer to the solution. I need your check. When I add an attachment - is it free for all forum users?
Thanks again.
Cheers
Alex
ADDENDUM:
I managed to resolve it and I have done my first question! Now, I will move to the second question! Thanks for your help, will write again, when I have other questions.
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 001
You could PM me your values for sum1,sum2 and sum3 if you see what I mean.
I hope to be able to find out from these three values what went wrong.
Edit:
Congratz.
I hope to be able to find out from these three values what went wrong.
Edit:
Congratz.

War ruins the life and health of untold numbers of innocent children.
-
aur
- Posts: 1
- Joined: Sun Mar 04, 2012 9:03 pm
Re: Problem 001
I'm very new in the project Euler's society
when trying to submit the answer , should I submit the answer directly (i.e: 123) or submit the code ?
when trying to submit the answer , should I submit the answer directly (i.e: 123) or submit the code ?
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
-
xcasper
- Posts: 2
- Joined: Thu Jun 14, 2012 12:13 am
Re: Problem 001
So I have just joined project euler and I am stuck on problem #1 
I honestly am not sure what I am doing wrong and I have tried it multiple ways. I am sure its something basic.
I have already accounted for the 3 and the 5 multiples being the same and not counting those twice.
I know I cant post code so I am a bit lost as to how to ask for help with this as I do not have a particular problem. I am just stumped from my current position and not sure what exactly to try/do next.
I cant seem to delete this post, I will just edit it....
I Figured out the problem, nvm on needing help.
I honestly am not sure what I am doing wrong and I have tried it multiple ways. I am sure its something basic.
I have already accounted for the 3 and the 5 multiples being the same and not counting those twice.
I know I cant post code so I am a bit lost as to how to ask for help with this as I do not have a particular problem. I am just stumped from my current position and not sure what exactly to try/do next.
I cant seem to delete this post, I will just edit it....
I Figured out the problem, nvm on needing help.
Last edited by xcasper on Thu Jun 14, 2012 12:23 am, edited 1 time in total.
-
TripleM
- Posts: 384
- Joined: Fri Sep 12, 2008 3:31 am
-
xcasper
- Posts: 2
- Joined: Thu Jun 14, 2012 12:13 am
Re: Problem 001
thank you for the offer but I figured it out right before I saw your post.TripleM wrote:Feel free to PM me your code.
-
yasar
- Posts: 3
- Joined: Tue Jul 17, 2012 3:54 pm
Re: Problem 001
hello all , ok so im new to programming in c++ and i have recently joined euler which was recomended to me
so far i have tried different ways of going about to solve this problem but none of the answers i come up with is right can any1 help me if i pm themmy code u can give me pointers to the right direction thnx
so far i have tried different ways of going about to solve this problem but none of the answers i come up with is right can any1 help me if i pm themmy code u can give me pointers to the right direction thnx
-
mdean
- Posts: 206
- Joined: Tue Aug 02, 2011 2:05 am
-
Fingolfin
- Posts: 2
- Joined: Sat Sep 08, 2012 3:25 pm
Re: Problem 001
[Edited by myself]
This problem can be solved using knowlege in arithmetic series.
This problem can be solved using knowlege in arithmetic series.
Last edited by Fingolfin on Sat Sep 08, 2012 11:51 pm, edited 2 times in total.
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: Problem 001
995/5=199 and not 195.
Before you start giving detailed explanations for every problem you encounter, please read the box at the top of the page.
The idea is that you don't give spoilers here.
Before you start giving detailed explanations for every problem you encounter, please read the box at the top of the page.
The idea is that you don't give spoilers here.

War ruins the life and health of untold numbers of innocent children.
-
Fingolfin
- Posts: 2
- Joined: Sat Sep 08, 2012 3:25 pm
-
sam97
- Posts: 1
- Joined: Mon Jan 07, 2013 4:10 pm
Re: Problem 001
Hi! I am guessing this is where I post my problems. I am just 3 hours new to projecteuler.com. I tried the first problem in python but my answer is not being accepted. I did it by both code and paper and they seem to be right. I have the code ready. Can anyone help me in this matter?
-
pieppiep
- Posts: 23
- Joined: Thu Dec 30, 2010 6:23 am
-
mdean
- Posts: 206
- Joined: Tue Aug 02, 2011 2:05 am
Re: Problem 001
Here's a possibility. Are you sure you're answering the question that's being asked? Reread the problem and the rest of this thread.sam97 wrote:Hi! I am guessing this is where I post my problems. I am just 3 hours new to projecteuler.com. I tried the first problem in python but my answer is not being accepted. I did it by both code and paper and they seem to be right. I have the code ready. Can anyone help me in this matter?

-
tulip
- Posts: 2
- Joined: Wed Jul 09, 2014 2:56 pm
Problem 001
Hi,
I think result checking for Problem 1 doesn't work correct. Could someone confirm this please?
I think result checking for Problem 1 doesn't work correct. Could someone confirm this please?
- jaap
- Posts: 588
- Joined: Tue Mar 25, 2008 3:57 pm
- Contact:
Re: Problem 001
The answer checking works correctly.
There is already a thread for this problem where you will likely find clues as to why your answer was wrong:
viewtopic.php?f=50&t=2524
There is already a thread for this problem where you will likely find clues as to why your answer was wrong:
viewtopic.php?f=50&t=2524
-
tulip
- Posts: 2
- Joined: Wed Jul 09, 2014 2:56 pm
-
Bubbler
- Posts: 28
- Joined: Sat Feb 23, 2013 6:12 am


