|
SOLUTIONS
|
MATHEMATICA 内置符号
DigitCount
DigitCount[n, b, d]
在 b 进制表示的 n 中,数字 d 的个数.
DigitCount[n, b]
用来给出 n 的 b 进制表示中数字
,
,...,
,
的个数.
DigitCount[n]
用来给出 n 的10进制表示中数字
,
,...,
,
的个数.
更多信息更多信息
- 整数型数学函数,同时适合符号和数值操作.
- DigitCount[n] 等价于 DigitCount[n, 10, Mod[Range[10], 10]].
版本 4 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

