Skip to content

adelphimathcs/ProjectEuler-0002

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Project Euler Problem 2

Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:

1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...

By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms.


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-####.git
cd ProjectEuler-####

Adding 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

Even Fibonacci Numbers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors