--> projecteuler.net <--wollt den link mal mit euch teilen. vllt macht ja der ein oder andere n bisschen mit
noob problem:https://projecteuler.net/problem=2Code
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 the sum of the even-valued terms.
fortgeschrittenen problem:https://projecteuler.net/problem=20Code
n! means n × (n − 1) × ... × 3 × 2 × 1
For example, 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800,
and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27.
Find the sum of the digits in the number 100!
profil problem (bearbeite ich ofc im moment )https://projecteuler.net/problem=100Code
If a box contains twenty-one coloured discs, composed of fifteen blue discs and six red discs, and two discs were taken at random, it can be seen that the probability of taking two blue discs, P(BB) = (15/21)×(14/20) = 1/2.
The next such arrangement, for which there is exactly 50% chance of taking two blue discs at random, is a box containing eighty-five blue discs and thirty-five red discs.
By finding the first arrangement to contain over 10^12 = 1,000,000,000,000 discs in total, determine the number of blue discs that the box would contain.
regeln:- gibt keine; es sind alle hilfsmittel erlaubt
ich programmiere alles mit java. die oberen 2 dinger hab ich gepackt. mal gucken ob ich problem 100 noch schaffe...