login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Sum of digits of n written in fractional base 5/3.
0

%I #16 Mar 19 2020 02:20:49

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

%T 11,12,13,14,7,8,9,10,11,10,11,12,13,14,9,10,11,12,13,10,11,12,13,14,

%U 13,14,15,16,17,8,9,10,11,12,11,12,13,14,15

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

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

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

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

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

%Y Cf. A024633, A007953, A053824.

%K nonn,base

%O 0,3

%A _James Van Alstine_, Jul 18 2014

%E Name corrected by _Bernard Schott_, Mar 18 2020