Varjinth subramaniyanmycodingjourneyy.hashnode.dev·May 12, 2023Project Euler problem#17#python program to print letters count from 1 to 1000 sum=0 num={} a=['one','two','three','four','five','six','seven','eight','nine'] b=['ten','twenty','thirty','forty','fifty','sixty','seventy','eighty','ninety','onehundred'] c=['eleven', 'twelve','...100DaysOfCode
Varjinth subramaniyanmycodingjourneyy.hashnode.dev·May 10, 2023Project Euler problem#15#python program to find the lattice path of 20x20 grid a=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1] for j in range(1,21): i=1 while i <21 : a[i] = int(a[i-1])+int(a[i]) i+=1 print (a[20])Project Euler Solutions
Varjinth subramaniyanmycodingjourneyy.hashnode.dev·Apr 29, 2023Project Euler problem #13#Python program to find first ten digits of the sum of the following one-hundred 50-digit numbers. #storing the numbers as string in a variable num=''' 37107287533902102798797998220837590246510135740250 4637693767749000971264812489697007805041701826...100DaysOfCode
Sangy K (SK) | The Introvert Coderblog.theintrovertcoder.in·Jan 18, 2023Project Euler: #17 - Number letter countsProblem If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total. If all the numbers from 1 to 1000 (one thousand) inclusive were written out in words, how many letters w...51 readsProject Euler: JS Solution Explained!2Articles1Week
Sangy K (SK) | The Introvert Coderblog.theintrovertcoder.in·Jan 16, 2023Project Euler: #15 - Lattice pathsProblem Starting in the top left corner of a 2*2 grid, and only being able to move to the right and down, there are exactly 6 routes to the bottom right corner. How many such routes are there through a 20*20 grid? Problem Description We are given a...31 readsProject Euler: JS Solution Explained!Project Euler
Sangy K (SK) | The Introvert Coderblog.theintrovertcoder.in·Jan 15, 2023Project Euler: #14 - Longest Collatz sequenceProblem The following iterative sequence is defined for the set of positive integers: n → n/2 (n is even) n → 3n + 1 (n is odd) Using the rule above and starting with 13, we generate the following sequence: 13 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → ...72 readsProject Euler: JS Solution Explained!Project Euler
Sangy K (SK) | The Introvert Coderblog.theintrovertcoder.in·Jan 14, 2023Project Euler: #13 - Large sumProblem Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. 37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 9...Project Euler: JS Solution Explained!Project Euler
Sangy K (SK) | The Introvert Coderblog.theintrovertcoder.in·Jan 13, 2023Project Euler: #12 - Highly divisible triangular numberProblem The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... Let us list the factors of...Project Euler: JS Solution Explained!Project Euler
Sangy K (SK) | The Introvert Coderblog.theintrovertcoder.in·Jan 11, 2023Project Euler: #11 - Largest product in a gridProblem In the 20×20 grid below, four numbers along a diagonal line have been marked in yellow. 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 0849 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 0081 49 31 73 55 79 14 29 93 71 40 67 ...Project Euler: JS Solution Explained!Project Euler
Sangy K (SK) | The Introvert Coderblog.theintrovertcoder.in·Jan 10, 2023Project Euler: #10 - Summation of primesProblem The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. Problem Description The problem is pretty self-explanatory! Sum of primes below 10 is 17. Find the sum of primes below 2000000. Approach...Project Euler: JS Solution Explained!Project Euler