login
Sum of digits of n in fractional base 9/5.
0

%I #7 Mar 16 2020 16:34:44

%S 0,1,2,3,4,5,6,7,8,5,6,7,8,9,10,11,12,13,6,7,8,9,10,11,12,13,14,11,12,

%T 13,14,15,16,17,18,19,8,9,10,11,12,13,14,15,16,13,14,15,16,17,18,19,

%U 20,21,14,15,16,17,18,19,20,21,22,19,20,21,22,23

%N Sum of digits of n in fractional base 9/5.

%C The base 9/5 expansion is unique, and thus the sum of digits function is well-defined.

%e In base 9/5 the number 11 is represented by 52 and so a(11) = 5 + 2 = 7.

%o (Sage) # uses [basepqsum from A245355]

%o [basepqsum(9,5,y) for y in [0..200]]

%Y Cf. A024653, A053830, A007953.

%K nonn,base

%O 0,3

%A _James Van Alstine_, Jul 18 2014