After a long time…
After a very long time, my weight droped to 79 kg. I’m very happy :)
A curious software developer.
Move well! Learn well! Play well! Eat well! Rest well! Enjoy your lives, merrily and to the fullest!
After a very long time, my weight droped to 79 kg. I’m very happy :)
Problem: A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest palindrome made from the product of two 3-digit numbers. * https://projecteuler.net/problem=4 Php; <?php /** * Checks number if palindrome or not! * * @param $number * […]
Problem: The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? * https://projecteuler.net/problem=3 Php; <?php class ProblemSolver { private $original_number; private $number; private $current_prime_number = 2; private $prime_numbers = []; private $largest_prime_number; /** * ProblemSolver constructor. * @param int $number */ public function […]
Problem: Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, … By considering the terms in the Fibonacci sequence whose values do not exceed four million, find […]
Problem: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. * https://projecteuler.net/problem=1 Php; <?php // Parameters $total = 0; for ($i […]
Ever since childhood I have always wondered how to make games and I wanted to make my own game one day. After spending so much time in the software industry, I asked myself why I should not do it anymore. Thus, I will improve my Javascript skill and I will also look at the software […]