Skip to content

adelphimathcs/ProjectEuler-0001

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Euler Problem 1

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

Find the sum of all the multiples of 3 or 5 below 1000.


Adding and Contributing Solutions

First Clone the Repository

The easiest way to download the needed files is to clone the entire repository from your personal account. You will need to install Git for this.

git clone https://github.com/USERNAME/ProjectEuler-0001.git
cd ProjectEuler-0001

###Adding a New Solution

To add a new solution, just create new folder in ProjectEuler-#### and place your files there. The folder should be the name of the programming language you wrote the solution in. If that folder already exists, put your files in there. If your solution is a mathematical write up, you can write it in a README.md file or post a write-up in LaTeX. If you choose LaTeX, make sure and post the source files, and not just the PDF.

Now that you have added your solution locally, you need to push it to the main repository.

git add ./*
git commit -a -m 'message explaining what you added'
git push origin master

Contribute to Existing Solutions

While anyone has the ability to modify existing files, it is best if you use GitHub's issues to discuss the changes with the original author before making any modifications. To modify the files, you only need to clone the repository, make changes, and then push your commits as above.

About

Multiples of 3 and 5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors