# Articles by Peter Prevos

### Euler Problem 14: Longest Collatz Sequence

March 1, 2017 |

Euler Problem 14 looks at the Collatz Conjecture. These playful sequences, named after German mathematician Lothar Collatz (1910–1990), cause mathematicians a lot of headaches. This video introduces the problem much better than I can describe it. Euler Problem 14 Definition The following iterative … Continue reading → The post Euler Problem 14: Longest Collatz Sequence appeared ... [Read more...]

### Euler Problem 13: Large Sum of 1000 Digits

February 22, 2017 |

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. For example:   When asking … Continue reading → The post Euler Problem 13: Large Sum of 1000 Digits appeared ... [Read more...]

### Euler Problem 12: Highly Divisible Triangular Number

February 15, 2017 |

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? Continue reading → The post Euler Problem 12: Highly Divisible Triangular Number appeared first on The Devil is in the Data.

### Percentile Calculations in Water Quality Regulations

February 9, 2017 |

Demonstrating the various ways percentile calculations can be undertaken in R and specifically with respect to measuring turbidity in water supplies. Continue reading → The post Percentile Calculations in Water Quality Regulations appeared first on The Devil is in the Data.

### Euler Problem 11: Largest Product in a Grid

February 9, 2017 |

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? Continue reading → The post Euler Problem 11: Largest Product in a Grid appeared first on The Devil is in the Data.

### Lifting the Big Data Veil: Data Science Strategy for Water Utilities

February 1, 2017 |

A summary of my essay on data science strategy for water utilities. This strategy is based on the principles of the science of data. Continue reading → The post Lifting the Big Data Veil: Data Science Strategy for Water Utilities appeared first on The Devil is in the Data.

### Euler Problem 10: Summation of Primes

February 1, 2017 |

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. Continue reading → The post Euler Problem 10: Summation of Primes appeared first on The Devil is in the Data.

### SCADA spikes in Water Treatment Data

January 29, 2017 |

SCADA data is essential in operating water treatment plants. Spikes in the data can indicate problems. How can you detect SCADA spikes using the R language? Continue reading → The post SCADA spikes in Water Treatment Data appeared first on The Devil is in the Data.

### Euler Problem 9 : Special Pythagorean Triple

January 24, 2017 |

Solution to Euler Problem 9 in the R Language: Find the Pythagorean triple for which a+b+c equals 1000. Continue reading → The post Euler Problem 9 : Special Pythagorean Triple appeared first on The Devil is in the Data. [Read more...]

### Trumpworld Analysis : Ownership Relations in his Business Network

January 23, 2017 |

Analysis of the ownership relationships between organisations associated with Donald J. Trump. A social network analysis of Trumpland using the igraph package in R. Continue reading → The post Trumpworld Analysis : Ownership Relations in his Business Network appeared first on The Devil is in the Data.

### Finding antipodes using the globe and ggmap packages

January 20, 2017 |

The antipode of any place on Earth is the point on the Earth's surface that is diametrically opposite to it. How can you use ggmap to find antipodes? Continue reading → The post Finding antipodes using the globe and ggmap packages appeared first on Data Science with R.

### Euler Problem 8: Largest Product in a Series

January 18, 2017 |

Solution to Euler Problem 8 in the R Language for Statistical Computing. Find the thirteen adjacent digits in the 1,000-digit number that have the greatest product. What is the value of this product? Continue reading → The post Euler Problem 8: Largest Product in a Series appeared first on The Devil is in ... [Read more...]

### Euler Problem 7: 10,001st Prime

January 16, 2017 |

A solution in the R language for statistical computing to find the solution the Euler Problem 7: Find the 10,001st prime number. Continue reading → The post Euler Problem 7: 10,001st Prime appeared first on Data Science with R. [Read more...]

### Euler Problem 6: Sum Square Difference

January 5, 2017 |

Solution to Euler Problem 6: Sum Square Difference in the R language for statistical computing. Continue reading → The post Euler Problem 6: Sum Square Difference appeared first on The Devil is in the Data. [Read more...]

### Euler Problem 5: Smallest Multiple

December 29, 2016 |

Solution to Euler Problem 5 in the R Language for Statistical Computing: What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? Continue reading → The post Euler Problem 5: Smallest Multiple appeared first on The Devil is in the Data. [Read more...]

### Euler Problem 4: Largest Palindromic Product

December 22, 2016 |

Solution to Euler Problem 4: Find the largest palindrome made from the product of two 3-digit numbers. Continue reading → The post Euler Problem 4: Largest Palindromic Product appeared first on The Devil is in the Data. [Read more...]

### Euler Problem 3: Largest Prime Factor

December 14, 2016 |

Solutions to Euler Problem 1 in the R language for statistical computing. This problem asks to find the largest prime factor of the number 600851475143. Continue reading → The post Euler Problem 3: Largest Prime Factor appeared first on The Devil is in the Data. [Read more...]

### Euler Problem 2: Even Fibonacci Numbers

December 7, 2016 |

Solutions to Euler Problem 2 in the R language for statistical computing. This problem asks to sum even numbers in the Fibonacci sequence whose values do not exceed four million. Continue reading → The post Euler Problem 2: Even Fibonacci Numbers appeared first on The Devil is in the Data. [Read more...]

### Euler Problem 1: Multiples of 3 or 5

November 30, 2016 |

Solutions to Euler Problem 1 in the R language for statistical computing. This problem asks to find the sum of the multiples of 3 or 5 below 1000. Continue reading → The post Euler Problem 1: Multiples of 3 or 5 appeared first on The Devil is in the Data. [Read more...]
1 3 4 5