login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A245343
Sum of digits of n written in fractional base 5/3.
0
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, 11, 12, 13, 14, 7, 8, 9, 10, 11, 10, 11, 12, 13, 14, 9, 10, 11, 12, 13, 10, 11, 12, 13, 14, 13, 14, 15, 16, 17, 8, 9, 10, 11, 12, 11, 12, 13, 14, 15
OFFSET
0,3
COMMENTS
The base 5/3 expansion is unique and thus the sum of digits function is well-defined.
EXAMPLE
In base 5/3 the number 7 is represented by 32 and so a(7)=3+2=5.
PROG
(Sage) # uses [basepqsum from A245355]
[basepqsum(5, 3, y) for y in [0..200]]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
James Van Alstine, Jul 18 2014
EXTENSIONS
Name corrected by Bernard Schott, Mar 18 2020
STATUS
approved