mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Number Theory Discussion Group (https://www.mersenneforum.org/forumdisplay.php?f=132)
-   -   2019 Coding Challenge (https://www.mersenneforum.org/showthread.php?t=23939)

miroslavkures 2018-12-27 07:47

2019 Coding Challenge
 
The number 2019 is the least number having six different representations as a sum of three squares of prime numbers.
2019 = 23^2+23^2+31^2
2019 = 17^2+19^2+37^2
2019 = 11^2+23^2+37^2
2019 = 13^2+13^2+41^2
2019 = 7^2+17^2+41^2
2019 = 7^2+11^2+43^2
The coding challenge:
Find other numbers with this property. That is, having six different representations as above, not seven or more. Say, up to 10^9. Happy New Year.

axn 2018-12-27 08:28

There are a lot of them.
[CODE]2091
2499
3099
3219
3339
3579
3939
4011
4131
4179
4611
...[/CODE]

There are 10744 under 10^8.

miroslavkures 2018-12-27 08:59

Wow, you were very fast. And the result is a little surprising to me. But it is sometimes the case.


All times are UTC. The time now is 07:25.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.