You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何用Google Sheets计算单词字母的不同排列方式数量

计算Google Sheets中A1:A18单元格单词的字母不同排列数

采用含重复元素的排列公式:

n!
nPr =      -------------------
           (n1! n2! . . . nr!)

其中,n为单词的字母总数,n1、n2...nr代表每个重复字母的出现次数。

输入输出示例

输入单词预期输出
arrangement2494800
sequence6720
succession302400
organization29937600
disposition1663200
structure45360
system360
series180
grouping20160
classification1816214400
categorization5448643200
codification19958400
systematization27243216000
disposal20160
form24
layout720
array30

示例计算过程

以单词arrangement为例,代入公式:

11!
nPr =    ----------------------- 
         (2! 2! 2! 1! 2! 1! 1! )
1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11
=  ---------------------------------------------
   {(1 x 2) (1 x 2) (1 x 2) (1) (1 x 2) (1) (1)}
nPr of word arrangement = 2494800

即单词arrangement的字母共有2494800种不同排列方式。

内容的提问来源于stack exchange,提问作者Osm

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.16 22:40:16