英语翻译
Problem Description
Little Petya likes numbers a lot.He found that number 123 in
base 16 consists of two digits:the first is 7 and the second is 11.So the sum
of digits of 123 in base 16 is equal to 18.
Now he wonders what is an average
value of sum of digits of the number A written in all bases from 2 to
A-1.
Note that all computations should be done in base 10.You should find
the result as an irreducible fraction,written in base 10.
Input
Input contains one integer number A (3
人气:303 ℃ 时间:2020-02-05 03:04:27
解答
任意给一个10进制数A(3
推荐
猜你喜欢
- 已知函数fx=-根号2sin(2x+π/4)+6sinxcosx-2cos²x+1 x属于R
- 长夜难明赤县天,百年魔怪舞蹁跹,人民五亿不团圆.一唱雄鸡天下白,万方乐奏有于阗,诗人兴会更无前.
- 已知A(-1,-1),B(3,7)两点,则线段AB的垂直平分线方程为多少
- 一艘轮船从甲码头到乙码头是顺流航行,用了2h;从乙码头到甲码头是逆流航行,用了3h.如果水流速度是3km/h,求轮船在静水中的速度和两个码头之间的距离.
- 猜成语,下面的描述是什么成语啊?
- 三角形中间加个感叹号是什么标志
- 5,0,2,3,1,4,0,2,3,1,……到2013个数为止,这些数的和是多少?
- 甲乙两辆汽车同时从ab两地相对而行,甲车每小时行61千米,乙车每小时行51千米,两车在距离中点10千米的地方