英语翻译
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
人气:205 ℃ 时间:2020-02-05 03:04:27
解答
任意给一个10进制数A(3
推荐
猜你喜欢
- Everything is kind of pink.is kind of
- 点A(2,-3)关于轴对称的点的坐标为----------,关于原点对称的坐标为
- 请问软弱,不坚强的词语是什么
- 两方坚持对立,互不相让的四字词语是
- 已知向量a、b、c 、d满足:a模等于1,b模等于根号2,b在 a上的投影为1/2 ,向量a-c与向量b-c垂直
- 一筐苹果连筐中60千克,卖掉五分之二后,连筐重30千克,问着筐苹果净重多少千克
- in much the same way
- 关于学习的古人诗句,名言