<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>数学研发论坛 - 编程擂台</title>
    <link>https://bbs.emath.ac.cn/forum-15-1.html</link>
    <description>Latest 20 threads of 编程擂台</description>
    <copyright>Copyright(C) 数学研发论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Mon, 20 Apr 2026 08:20:46 +0000</lastBuildDate>
    <ttl>120</ttl>
    <image>
      <url>https://bbs.emath.ac.cn/static/image/common/logo_88_31.gif</url>
      <title>数学研发论坛</title>
      <link>https://bbs.emath.ac.cn/</link>
    </image>
    <item>
      <title>把二进制数看成十进制数后再转成二进制</title>
      <link>https://bbs.emath.ac.cn/thread-50185-1-1.html</link>
      <description><![CDATA[10 转化成二进制是 1010

1010 转化成二进制是 1111110010

1111110010 转化成二进制是 1000010001110100011000101111010

1000010001110100011000101111010 转化成二进制是 1100100111110011010011100010101000011000101001000100011011011010001111011100010000001000 ...]]></description>
      <category>编程擂台</category>
      <author>KeyTo9_Fans</author>
      <pubDate>Sat, 11 Apr 2026 08:01:50 +0000</pubDate>
    </item>
    <item>
      <title>用n个114514不能构造的最小正整数是多少？10^k(1&lt;=k&lt;= 8)最少要用几个？</title>
      <link>https://bbs.emath.ac.cn/thread-50160-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>编程擂台</category>
      <author>Yi_Zhi_OIer</author>
      <pubDate>Wed, 04 Feb 2026 01:21:58 +0000</pubDate>
    </item>
    <item>
      <title>1/n=1/a+1/b+1/c+1/d</title>
      <link>https://bbs.emath.ac.cn/thread-50151-1-1.html</link>
      <description><![CDATA[如何把 1/7 拆分成四个不同单位分数的和，并且四个分母之和为最小？

\\(a(1)=24,\\frac{1}{1}=\\frac{1}{2}+\\frac{1}{4}+\\frac{1}{6}+\\frac{1}{12}\\)     
\\(a(2)=43,\\frac{1}{2}=\\frac{1}{5}+\\frac{1}{6}+\\frac{1}{12}+\\frac{1}{20}\\)   
\\(a(3)=52,\\frac{1}{3}=\\frac{1} ...]]></description>
      <category>编程擂台</category>
      <author>王守恩</author>
      <pubDate>Fri, 16 Jan 2026 00:38:03 +0000</pubDate>
    </item>
    <item>
      <title>PowersRepresentations</title>
      <link>https://bbs.emath.ac.cn/thread-50119-1-1.html</link>
      <description><![CDATA[下面21个数字，哪个可表示为三个不同正整数的五次方之和？

{100347536855722268443968,101960189247984233906376,108662103579823653234375,116203076099426227392000,123734194168358480616000,210298298557955359732344,234282738893245101304875,304835009564744131 ...]]></description>
      <category>编程擂台</category>
      <author>northwolves</author>
      <pubDate>Sun, 07 Dec 2025 05:18:44 +0000</pubDate>
    </item>
    <item>
      <title>编译器有趣问题求解</title>
      <link>https://bbs.emath.ac.cn/thread-50114-1-1.html</link>
      <description><![CDATA[知乎中一个关于编译器的讨论
里面提及用程序验证\\(a^3+b^3=c^3\\)的无非零解问题。
题目里面写了一个无限循环，只在找到解时返回false,然后在循环外面返回true.
由于编译器优化时判断出循环不会退出，内部只有返回false,所以直接优化为返回false.

问题是题目里面使用了u ...]]></description>
      <category>编程擂台</category>
      <author>mathe</author>
      <pubDate>Wed, 26 Nov 2025 02:20:36 +0000</pubDate>
    </item>
    <item>
      <title>a(n)与n有相同数字, 且能整除每个数字。</title>
      <link>https://bbs.emath.ac.cn/thread-50102-1-1.html</link>
      <description><![CDATA[找最小自然数a(n)。满足: a(n)与n有相同数字, 且能整除每个数字。

a(0)=0,——有0的=0。
a(1)=1,
a(2)=2,
a(3)=3,
a(4)=4,
a(5)=5,
a(6)=6,
a(7)=7,
a(8)=8,
a(9)=9,
a(10)=0,——有0的=0。
a(11)=1,
a(12)=12,
a(13)=1113,
a(14)=0,——无解的=0。
a(15)=15,
a(16)=11 ...]]></description>
      <category>编程擂台</category>
      <author>王守恩</author>
      <pubDate>Sat, 15 Nov 2025 00:45:39 +0000</pubDate>
    </item>
    <item>
      <title>1572*8634=13572648</title>
      <link>https://bbs.emath.ac.cn/thread-50085-1-1.html</link>
      <description><![CDATA[数码1,2恰好组成1个1位数与1个1位数。1位数×1位数=2位数。2位数恰好由数码1,2组成。有0个解。
数码1,2,3恰好组成1个1位数与1个2位数。1位数×2位数=3位数。3位数恰好由数码1,2,3组成。有0个解。
数码1,2,3,4恰好组成1个2位数与1个2位数。2位数×2位数=4位数。4位数恰好 ...]]></description>
      <category>编程擂台</category>
      <author>王守恩</author>
      <pubDate>Sun, 26 Oct 2025 19:14:38 +0000</pubDate>
    </item>
    <item>
      <title>如何判断[根号(2^n)]的奇偶性</title>
      <link>https://bbs.emath.ac.cn/thread-50081-1-1.html</link>
      <description><![CDATA[如何判断[根号(2^n)]的奇偶性？

Table[Mod[Floor[Sqrt[2^n]], 2], {n, 98}]——标准。
{1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, ...]]></description>
      <category>编程擂台</category>
      <author>王守恩</author>
      <pubDate>Wed, 15 Oct 2025 02:35:19 +0000</pubDate>
    </item>
    <item>
      <title>x^2 - y^2 = 6999...</title>
      <link>https://bbs.emath.ac.cn/thread-50080-1-1.html</link>
      <description><![CDATA[13^2 - 10^2 = 69。
118^2 - 115^2 = 699。
1168^2 - 1165^2 = 6999。 
11668^2 - 11665^2 = 69999。
860^2   -  199^2 = 699999。——我们取最小的 1 对。
2968^2  - 1345^2 = 6999999。
686300^2-686249^2=69999999。
26468^2  - 745^2  =  699999999。
130040^2 - 99 ...]]></description>
      <category>编程擂台</category>
      <author>王守恩</author>
      <pubDate>Tue, 14 Oct 2025 22:41:59 +0000</pubDate>
    </item>
    <item>
      <title>计算排列的方案数</title>
      <link>https://bbs.emath.ac.cn/thread-50070-1-1.html</link>
      <description><![CDATA[游戏的目标是满足以下条件将X和O填充到剩余的方格内：

1、每一行以及每一列中没有超过两个连续的X或O。
2、每一行以及每一列中的X和O数量相同。
3、每一行以及每一列的排列方式都是唯一的。
X]]></description>
      <category>编程擂台</category>
      <author>wayne</author>
<enclosure url="/forum/O" length="X" type="image/jpeg" />      <pubDate>Thu, 02 Oct 2025 04:15:04 +0000</pubDate>
    </item>
    <item>
      <title>三重内积(增加难度)的最小值</title>
      <link>https://bbs.emath.ac.cn/thread-50067-1-1.html</link>
      <description><![CDATA[试试！走自己的路。

w(1)=6,  1*2*1 + 1*2 + 3=7,
a={1},
b={2, 1},
c={1, 2, 3},

w(2)=17,  1*2*2 + 2*3*1 + 1*3 + 4=17,
a={1, 2},
b={2, 3, 1},
c={2, 1, 3, 4},

w(3)=36,  1*2*4 + 2*1*3 + 3*3*1 +4*2 + 5=36,
a={1, 2, 3},
b={2, 1, 3, 4},
c={4, 3, 1, 2, 5},]]></description>
      <category>编程擂台</category>
      <author>王守恩</author>
      <pubDate>Wed, 24 Sep 2025 03:29:33 +0000</pubDate>
    </item>
    <item>
      <title>三重内积的最小值</title>
      <link>https://bbs.emath.ac.cn/thread-50060-1-1.html</link>
      <description><![CDATA[A070735——Let r, s, t be three permutations of the set {1, 2, 3, ..., n}; a(n) = minimal value of Sum_{i=1..n} r(i)*s(i)*t(i).
例如：
a(1)=1,  1×1×1=1,
a(2)=6,  1×2×2+2×1×1=6,
r={1, 2},
s={2, 1},
t={2, 1}.

a(3)=18,  1×3×2+2×1×3+3×2×1=18 ...]]></description>
      <category>编程擂台</category>
      <author>王守恩</author>
      <pubDate>Thu, 18 Sep 2025 17:16:07 +0000</pubDate>
    </item>
    <item>
      <title>3^n倍数的n位数</title>
      <link>https://bbs.emath.ac.cn/thread-50057-1-1.html</link>
      <description><![CDATA[A(n)=十进制的n位数,  每个数位只由数码 2,3,4,5 构成,   A(n)是3^n的倍数。譬如
A(1)=3, 
A(2)=45, 
A(3)=243, 
A(4)=4455, 
A(5)=24543, 
A(6)=222345, ——有多个解时取最小的那个。
A(7)=3444525, 
A(8)=23324355, 
A(9)=225252252,

Table[SelectFirst[FromDigits  ...]]></description>
      <category>编程擂台</category>
      <author>王守恩</author>
      <pubDate>Mon, 15 Sep 2025 05:01:36 +0000</pubDate>
    </item>
    <item>
      <title>哥德巴赫偶数链</title>
      <link>https://bbs.emath.ac.cn/thread-50034-1-1.html</link>
      <description><![CDATA[素数和1统称为非合数。
假定扩展的哥德巴赫猜想是成立的：任一偶数可以表为两个非合数之和。
{2, 4, 6, ..., 2n}的一个排列${\\text{even}_1,\\text{even}_2, \\text{even}_3, \\ldots, \\text{even}_n}$称为一个哥德巴赫偶数链, 使得$\\text{even}_i=p_i+p_{i+1},(i=1,2,\\ldo ...]]></description>
      <category>编程擂台</category>
      <author>hujunhua</author>
      <pubDate>Sun, 24 Aug 2025 03:11:28 +0000</pubDate>
    </item>
    <item>
      <title>往桶里放数字使相邻数字之和为质数</title>
      <link>https://bbs.emath.ac.cn/thread-50032-1-1.html</link>
      <description><![CDATA[把数字1、2、3、……、m依次放入n个桶里，使得最新放入的数字与桶顶数字之和不为合数

如果某个桶是空的，则要求最先放入的数字不为合数

给定n，求最大的m，使得至少存在一种放置方案

例1：

当n=1时，最大的m是4：

第1步：把1放入桶里可行，因为1不是合数
第2步：把 ...]]></description>
      <category>编程擂台</category>
      <author>KeyTo9_Fans</author>
      <pubDate>Fri, 22 Aug 2025 03:12:54 +0000</pubDate>
    </item>
    <item>
      <title>搜索下一个边长都是平方数的海伦三角形</title>
      <link>https://bbs.emath.ac.cn/thread-49962-1-1.html</link>
      <description><![CDATA[面积和边长都是整数的三角形称为海伦三角形.
A318575 中给出了两个三边长均平方数的本原（三边长公因子为1）海伦三角形的面积
a(1)=32918611718880, 对应三角形三边长为\\(1853^2, 4380^2, 4427^2\\)
a(2)=284239560530875680, 对应三角形边长为\\(11789^2, 68104^2, 68595 ...]]></description>
      <category>编程擂台</category>
      <author>mathe</author>
      <pubDate>Thu, 19 Jun 2025 00:27:58 +0000</pubDate>
    </item>
    <item>
      <title>给编程大王出的难题无限有理螺旋的质数封印</title>
      <link>https://bbs.emath.ac.cn/thread-39790-1-1.html</link>
      <description><![CDATA[问题描述：
将全体正有理数以如下螺旋方式排列成一个二维矩阵（示意图我画不出来）：

起点为(0,0)=1/1

向右移动一步，(0,1)=1/2

逆时针转向下移动一步，(1,1)=2/1

继续逆时针转，向左移动两步：(1,0)=3/1, (1,-1)=4/1

接着向上移动两步，然后向右移动三步，依此类 ...]]></description>
      <category>编程擂台</category>
      <author>数论爱好者</author>
      <pubDate>Fri, 25 Apr 2025 08:19:48 +0000</pubDate>
    </item>
    <item>
      <title>高难代码编程求助</title>
      <link>https://bbs.emath.ac.cn/thread-19990-1-1.html</link>
      <description><![CDATA[一份OEIS网页的Excel文件，要求智能处理，要求代码自动化处理。
这个是要筛出一大部分没有用的数列，我发觉有一些数列真的没有公式，是穷举，是死算的。
一：有38万多行，A列为文献号，B列为标题，C列为数列数据，均已经下载保存在电脑里。
1.现在对B列进行翻译，不保存 ...]]></description>
      <category>编程擂台</category>
      <author>数论爱好者</author>
      <pubDate>Sun, 30 Mar 2025 08:28:43 +0000</pubDate>
    </item>
    <item>
      <title>有多少1999类型的素数？</title>
      <link>https://bbs.emath.ac.cn/thread-19988-1-1.html</link>
      <description><![CDATA[给孩子妈妈转账，
不想转2000，就转了1999，
结果我仔细研究了一下，
发现1999是质数，
再研究发展2999,4999,8999都是素数。
19,29,59,79,89都是素数，
手边没电脑，这类素数还有哪些？]]></description>
      <category>编程擂台</category>
      <author>nyy</author>
      <pubDate>Sat, 29 Mar 2025 05:18:06 +0000</pubDate>
    </item>
    <item>
      <title>求一类方程的正整数解的数量</title>
      <link>https://bbs.emath.ac.cn/thread-19952-1-1.html</link>
      <description><![CDATA[设\\(a(r,n)\\)为方程 $r*\\prod_{k=1}^nC_k=\\prod_{k=1}^n(r+C_k)$ 的正整数解的数量，其中\\(C_k5$时计算量太大，难以继续了。

附目前计算结果：
$a(2,n)={0, 1, 2, 20, 374, 21313, 5115140...}$,OEIS搜索到序列
A263207
Number of integer solutions for Product_{k=1. ...]]></description>
      <category>编程擂台</category>
      <author>northwolves</author>
      <pubDate>Sat, 08 Mar 2025 23:14:35 +0000</pubDate>
    </item>
  </channel>
</rss>