|
SOLUTIONS
|
MATHEMATICA 内置符号
IntegerLength
IntegerLength[n]
给出以 10 为基数表示的整数 n 的数字个数.
IntegerLength[n, b]
给出以 b 为基数表示的整数 n 的数字个数.
更多信息更多信息
- 整数型数学函数,适用于符号操作和数字操作.
- IntegerLength[n, b] 实际上相当于一个 Floor[Log[b, n]]+1.
- IntegerLength 忽略 n 的符号.
- IntegerLength 自动线性作用于列表.
版本 6 的新功能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »



