Forgot password?
 Create new account
View 1064|Reply 2

素数分组使组和构成等差数列

[Copy link]

462

Threads

969

Posts

9934

Credits

Credits
9934

Show all posts

青青子衿 Posted at 2019-8-14 09:46:34 |Read mode
怎么将前10个素数分为三组,使得每组之和构成等差数列。
Example :
{2, 5, 13, 17}
{3, 11, 29}
{7, 19, 23}

801

Threads

4889

Posts

310K

Credits

Credits
36169

Show all posts

isee Posted at 2019-8-14 14:31:02
回复 1# 青青子衿


这问题提得有意思

462

Threads

969

Posts

9934

Credits

Credits
9934

Show all posts

 Author| 青青子衿 Posted at 2019-8-16 18:45:30
MMA代码:
...
  1. plist = Prime@Range[10];
  2. Select[Subsets[plist], (Total[#] == Total[plist]/3) &] // Column
Copy the Code
...
先确定出等差中项的可能性:
\begin{align*}
3+11+29&=43\\
3+17+23&=43\\
7+13+23&=43\\
7+17+19&=43\\
11+13+19&=43\\
2+\phantom{0}5+\phantom{0}7+29&=43\\
2+\phantom{0}5+13+23&=43\\
2+\phantom{0}5+17+19&=43\\
2+\phantom{0}7+11+23&=43\\
2+11+13+17&=43\\
3+\phantom{0}5+\phantom{0}7+11+17&=43
\end{align*}

手机版Mobile version|Leisure Math Forum

2025-4-20 22:04 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list