Proposed solution to Euler Problem 26 in the R language. Find the value of d < 1000 for which 1/d contains the longest recurring decimal cycle.
Solution to Euler Problem 25 in the R language. What is the index of the first term in the Fibonacci sequence to contain 1000 digits?
Solution to Euler Problem 24: What is the millionth lexicographic permutation of the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9?
In two previous posts, I presented code to teach R to play the trivial game of Tic Tac Toe. I thought this was an unbeatable algorithm. Alas, a comment from Alberto shattered my pride as he was able to beat my code.
A solution in the R language to Euler Problem 23. Find the sum of all the positive integers which cannot be written as the sum of two abundant numbers.
Using the R programming language to draw the Sierpinski triangle fractal using the chaos game. Drawing a fractal using random numbers.
A proposed solution in the R language to Euler Problem 22. What is the total of all the name scores in the file of 5163 first names?
A solution in the R language to Euler Problem 21 which asks to evaluate the sum of all the amicable, or friendly, numbers under 10000.
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
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)?
Proposed solution to Euler Problem 18 in the R language. Find the maximum total from top to bottom of a triangle consisting of numbers.
Playing arcade games in R? Introducing pong, the first R-cade game. This code simulates the legendary game of pong in your favourite data science language.