Problem 556
Posted: Sun Apr 17, 2016 1:31 pm
A website dedicated to the puzzling world of mathematics and programming
https://projecteuler.chat/
Thanks, corrected.v6ph1 wrote:Problem 556 (View Problem)
The Factorization of 1+3i seams to be wrong:
It should be (1+i)*(2+i)
Well, not really...mpiotte wrote: Sun Apr 17, 2016 3:28 pmThanks, corrected.v6ph1 wrote:Problem 556 (View Problem)
The Factorization of 1+3i seams to be wrong:
It should be (1+i)*(2+i)
You say it's corrected, But I see (1+i)*(1+2*i)mpiotte wrote: Sun Apr 17, 2016 3:28 pmThanks, corrected.v6ph1 wrote:Problem 556 (View Problem)
The Factorization of 1+3i seams to be wrong:
It should be (1+i)*(2+i)
This factorization occurs twice in the problem text. Only once it's corrected:mpiotte wrote: Sun Apr 17, 2016 3:28 pmThanks, corrected.v6ph1 wrote:Problem 556 (View Problem)
The Factorization of 1+3i seams to be wrong:
It should be (1+i)*(2+i)
Here it's correct.A Gaussian integer can be uniquely factored as the product of a unit and proper Gaussian primes.
For example 2 = -i(1 + i)2 and 1 + 3i = (1 + i)(2 + i).
Still wrong.For example f(10) = 7 because 1, 1 + i, 1 + 2i, 1 + 3i = (1 + i)(1 + 2i), ...