# Tag: Project Euler Solutions in R

Project Euler (named after Swiss mathematician Leonhard Euler) is a competition where participants solve mathematical problems using computer code in their language of choice.

These articles describe each problem in detail, including the complete code in the R language to find the solution. Some of the early problems appear trivial, but they provide an excellent introduction to coding in R. My aim is to solve at least the first 100 problems without using any specialised packages. The code can be downloaded through my GitHub repository.

If you are also solving Euler problems, then please connect. My friend key is: 1009266_RbWqFI3r9PF44pD2d66syqRcmEaIqWi3

**Spoiler Alert**: If you believe that the solutions to Project Euler problems should not be shared then do not read any further.

## Project Euler Solutions in R

### Euler Problem 20: Large Integer Factorials

A proposed solution in the R language to Euler Problem 20: Find the sum of the digits in the faculty of 100: 100 × 99 × ... × 3 × 2 × 1... Read More### Euler Problem 19: Counting Sundays — When does the week start?

Solution in R to Euler Problem 19: How many Sundays fell on the first of the month during the twentieth century (1 Jan 1901 to 31 Dec 2000)?... Read More### Euler Problem 18 and 67: Maximum Path Sums

Proposed solution to Euler Problem 18 in the R language. Find the maximum total from top to bottom of a triangle consisting of numbers.... Read More### Euler Problem 17: Number Letter Counts In various languages

A solution in the R language to Euler Problem 17: If all the numbers from 1 to 1000 inclusive were written out in words, how many letters would be used?... Read More### Euler Problem 16: Power Digit Sum

A solution in the R language to Euler Problem 16. What is the sum of the digits of the number 2^1000? This post provides a solution using basic R code.... Read More### Euler Problem 15: Pathways Through a Lattice – Taxicab geometry

Solution in the R language to project Euler Problem 15. The problem asks to calculate the number of pathways through a 20 by 20 grid.... Read More### Euler Problem 14: Find the Longest Collatz Sequence

Solution to Euler Problem 14 in the R language: Which starting number, under one million, produces the longest Collatz sequence?... Read More### Euler Problem 13: Adding a Large Sum of 1000 Digits

Euler Problem 13 asks to add one hundred numbers with fifty digits. This seems like a simple problem where it not that most computers are not designed to deal with numbers with a lot of integers. This... Read More### Euler Problem 12: Highly Divisible Triangular Number

Proposed solution for Euler Problem 12 in the R language. What is the value of the first triangle number to have over five hundred divisors?... Read More### Euler Problem 11: Largest Product in a Grid

Solution to Euler Problem 11 in the R language. What is the greatest product of four adjacent numbers in the same direction in the 20 by 20 grid?... Read More### Euler Problem 10: Summation of Primes

A solution in the R language for statistical computing to find the solution the Euler Problem 10: Find the sum of all primes below two million.... Read More- 2 of 3
- « Previous
- 1
- 2
- 3
- Next »