mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math > Number Theory Discussion Group

Reply
 
Thread Tools
Old 2018-12-27, 07:47   #1
miroslavkures
 
Sep 2018

1102 Posts
Default 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.
miroslavkures is offline   Reply With Quote
Old 2018-12-27, 08:28   #2
axn
 
axn's Avatar
 
Jun 2003

24·5·59 Posts
Default

There are a lot of them.
Code:
2091
2499
3099
3219
3339
3579
3939
4011
4131
4179
4611
...
There are 10744 under 10^8.
axn is offline   Reply With Quote
Old 2018-12-27, 08:59   #3
miroslavkures
 
Sep 2018

1102 Posts
Default

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

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Coding request for 2^64 up robert44444uk Prime Gap Searches 12 2018-09-20 02:29
Anyone know enough about coding to do this? jrafanelli Software 2 2018-01-11 15:16
Python Coding Help? kelzo Programming 3 2016-11-27 05:16
coding midlet for TF starrynte Programming 1 2008-12-30 22:31
Coding Challenges R.D. Silverman Programming 18 2005-08-09 13:14

All times are UTC. The time now is 19:13.

Thu Oct 29 19:13:45 UTC 2020 up 49 days, 16:24, 1 user, load averages: 2.94, 2.37, 2.23

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.