Hearted Youtube comments on Mathologer (@Mathologer) channel.

  1. 14
  2. 14
  3. 14
  4. 14
  5. Since 2020/4 = 505 which has prime factors 5 and 101, we just have the power set of {5,101} which is {1,5,101,505}. Since both 5 and 101 are congruent to 1 mod 4, they are both good and so are all their products. You definitely gave us an easy one. So 4 good - 0 bad gives us 16 ways of writing 2020 as the product of squares. To find them, we'll first use the usual trick of dividing out the 4's. We'll find the ways to write 505 as squares and multiply each component by the square root of 4. True confession time: I'm adapting this from work by Dario Alejandro Alpern, whose fsquares program I ported to Gnu GMP. We can find the ways to write 505 by finding the way to write its factors and using the fact that (a^2+b^2) (A^2+B^2) = (aA+bB)^2 + (aB-bA)^2 We'll find the solutions in positive integers, and then convert each such solution (a,b) into 4 solutions, {(a,b)(-a,b)(a,-b)(-a,-b)}. We know that every prime congruent to 1 mod 4 is the sum of two squares. For 5 this is easy: 5 = 1^1 + 2^2 and that's all. For 101 it's not hard either: 101=1^2+10^2, and this confirms that you are pitching us your softest softball. A quick check vs {49, 64, 81} confirms that this is the only way to write 101. Again, this is just the positive/positive solutions. So we have: (1^2+2^2)(1^2+10^2) = (1+20)^2 + (10-2)^2, which gives us: 505 = 21^2 + 8^2 2020 = 2*21^2 + 2*8^2 = 4*441 + 4*64 = 1764 + 256 and consequently 3 other solutions, 2020 = (-42)^2 + (16)^2 = (42)^2+(-16)^2 = (-42)^2+(-16)^2. We also have: (1^2+(-2)^2)(1^2+10^2) = (1-20)^2 + (10+2)^2 = (-19)^2 + 12^2 = 361 + 144 Thus we find 8 ways of writing 2020: 2020 = 42^2+16^2 = -42^2+16^2 = 42^2+-16^2 = -42^2+-16^2 = 19^2+12^2 = -19^2+12^2 = 19^2+-12^2 = -19^2+-12^2 According to the formula, there must be 8 other solutions out there, but I'm not seeing the permutation of these equations that gives them.
    14
  6. 14
  7. 14
  8. 14
  9. 14
  10. 14
  11. 14
  12. 14
  13. 14
  14. 14
  15. 13
  16. 13
  17. 13
  18. 13
  19. 13
  20. 13
  21. 13
  22. 13
  23. 13
  24. 13
  25. 13
  26. 13
  27. 13
  28. 13
  29. 13
  30. 13
  31. 13
  32. 13
  33. 13
  34. 13
  35. 13
  36. 13
  37. 13
  38. 13
  39. 13
  40. 13
  41. 13
  42. 13
  43. 13
  44. 13
  45. 13
  46. 13
  47. 13
  48. 13
  49. 13
  50. 13