For faster navigation, this Iframe is preloading the Wikiwand page for 幻方常数.

幻方常数

此条目需要扩充。 (2013年2月14日)请协助改善这篇条目,更进一步的信息可能会在讨论页扩充请求中找到。请在扩充条目后将此模板移除。

幻方常数幻方和是指一个幻方中任一行、任一列或对角线的和。例如以下的三阶幻方的幻方常数是15。

“幻方常数”或“幻方和”一词也可以延伸到幻星幻立方英语Magic cube中。

幻方的幻方常数

[编辑]

若一n阶幻方是由1到n2的整数组成,则其幻方常数只和n有关,其数值为

以下是整数1到k的和

若要计算幻方中所有数字的和,令 k = n2,因此和为 n2(n2+1)/2,因为幻方共有n列,每列的和相同,和除以n就是幻方常数。

以下是n为3,4,5……时,由整数1到n2组成n阶幻方的幻方常数(OEIS数列A006003):

15, 34, 65, 111, 175, 260, 369, 505, 671, 870, …

幻立方的幻方常数

[编辑]

一个由1到n3的整数组成的幻立方,其幻方常数如下所示(OEIS数列A027441):

幻超正方体的幻方常数

[编辑]

在四维空间中,一个由1到n3的整数组成的幻超正方体,其幻方常数为

若一个d维n阶的幻超立方体,由一个由1到nd的整数组成,其幻方常数可表示为

幻星的幻方常数

[编辑]

若一个有n个角的幻星,由一个由1到2n的整数组成,其幻方常数可表示为

M = 4n + 2.
{{bottomLinkPreText}} {{bottomLinkText}}
幻方常数
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?