Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

100 Programming Languages for the first 100 Project Euler Problems

This repository is to track my progress in imitating jaredkrinke's misguided quest to write code in 100 different programming languages, specifically by solving the first 100 Project Euler problems. Get nerd-sniped.

Interested in joining an insane challenge? Use this repository template as a template to get started tracking your progress.

Credit

Thank (or blame) jaredkrinke for the challenge. Thank NathanielJS1541 for the repository template.

Running my Solutions

For most of the solutions, if you have Nix installed, you should be able to run nix-shell in the problem directory to make the dependencies available, then run just to run the solution. If you have direnv installed, then after typing direnv allow in the solution directory, the nix-shell command should be automatically run whenever you enter that solution directory.

Getting Started / Doing the Challenge

  1. (Optional) Make an account on Project Euler if you'd like to submit your answers there to check them.
  2. Choose a challenge and a programming language.
  3. Enter the language (with a link to the language's page) in the "Language" column of the table in the progress section.
  4. Go to the relevant folder within src (linked in the "Challenge Folder" column) and get started! The README.md file should contain all the information you need for the challenge. If it doesn't, let me know by opening an issue.
  5. Once you've finished, commit your changes and change the :white_square_button: in the "Completed" column to a :white_check_mark:. Unfortunately interactive checkboxes can't be used in a table in GitHub-flavoured markdown.
  6. (Optional) submit your answer on Project Euler.
  7. Move on to the next challenge and repeat!

Progress

Each check mark is a link to the solution source file.

Challenge Folder Language Solution
001_Multiples_of_3_or_5 Fennel
002_Even_Fibonacci_Numbers ARM64 Assembly
003_Largest_Prime_Factor Pharo Smalltalk
004_Largest_Palindrome_Product S7 Scheme
005_Smallest_Multiple VHDL
006_Sum_Square_Difference RISC-V 64 Assembly
007_10001st_Prime SYCL C++
008_Largest_Product_in_a_Series Erlang
009_Special_Pythagorean_Triplet SQL (SQLite)
010_Summation_of_Primes Fortran/OpenMP
011_Largest_Product_in_a_Grid Roc
012_Highly_Divisible_Triangular_Number Hare
013_Large_Sum 🔳
014_Longest_Collatz_Sequence 🔳
015_Lattice_Paths 🔳
016_Power_Digit_Sum 🔳
017_Number_Letter_Counts 🔳
018_Maximum_Path_Sum_I 🔳
019_Counting_Sundays 🔳
020_Factorial_Digit_Sum 🔳
021_Amicable_Numbers 🔳
022_Names_Scores 🔳
023_Non-Abundant_Sums 🔳
024_Lexicographic_Permutations 🔳
025_1000-digit_Fibonacci_Number 🔳
026_Reciprocal_Cycles 🔳
027_Quadratic_Primes 🔳
028_Number_Spiral_Diagonals 🔳
029_Distinct_Powers 🔳
030_Digit_Fifth_Powers 🔳
031_Coin_Sums 🔳
032_Pandigital_Products 🔳
033_Digit_Cancelling_Fractions 🔳
034_Digit_Factorials 🔳
035_Circular_Primes 🔳
036_Double_Base_Palindromes 🔳
037_Truncatable_Primes 🔳
038_Pandigital_Multiples 🔳
039_Integer_Right_Triangles 🔳
040_Champernownes_Constant 🔳
041_Pandigital_Prime 🔳
042_Coded_Triangle_Numbers 🔳
043_Sub_String_Divisibility 🔳
044_Pentagon_Numbers 🔳
045_Triangular_Pentagonal_and_Hexagonal 🔳
046_Goldbachs_Other_Conjecture 🔳
047_Distinct_Primes_Factors 🔳
048_Self_Powers 🔳
049_Prime_Permutations 🔳
050_Consecutive_Prime_Sum 🔳
051_Prime_Digit_Replacements 🔳
052_Permuted_Multiples 🔳
053_Combinatoric_Selections 🔳
054_Poker_Hands 🔳
055_Lychrel_Numbers 🔳
056_Powerful_Digit_Sum 🔳
057_Square_Root_Convergents 🔳
058_Spiral_Primes 🔳
059_XOR_Decryption 🔳
060_Prime_Pair_Sets 🔳
061_Cyclical_Figurate_Numbers 🔳
062_Cubic_Permutations 🔳
063_Powerful_Digit_Counts 🔳
064_Odd_Period_Square_Roots 🔳
065_Convergents_of_e 🔳
066_Diophantine_Equation 🔳
067_Maximum_Path_Sum_II 🔳
068_Magic_5-gon_Ring 🔳
069_Totient_Maximum 🔳
070_Totient_Permutation 🔳
071_Ordered_Fractions 🔳
072_Counting_Fractions 🔳
073_Counting_Fractions_in_a_Range 🔳
074_Digit_Factorial_Chains 🔳
075_Singular_Integer_Right_Triangles 🔳
076_Counting_Summations 🔳
077_Prime_Summations 🔳
078_Coin_Partitions 🔳
079_Passcode_Derivation 🔳
080_Square_Root_Digital_Expansion 🔳
081_Path_Sum_Two_Ways 🔳
082_Path_Sum_Three_Ways 🔳
083_Path_Sum_Four_Ways 🔳
084_Monopoly_Odds 🔳
085_Counting_Rectangles 🔳
086_Cuboid_Route 🔳
087_Prime_Power_Triples 🔳
088_Product-sum_Numbers 🔳
089_Roman_Numerals 🔳
090_Cube_Digit_Pairs 🔳
091_Right_Triangles_with_Integer_Coordinates 🔳
092_Square_Digit_Chains 🔳
093_Arithmetic_Expressions 🔳
094_Almost_Equilateral_Triangles 🔳
095_Amicable_Chains 🔳
096_Su_Doku 🔳
097_Large_Non_Mersenne_Prime 🔳
098_Anagramic_Squares 🔳
099_Largest_Exponential 🔳
100_Arranged_Probability 🔳

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages