login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A245344 Sum of digits of n written in fractional base 7/3. 1
0, 1, 2, 3, 4, 5, 6, 3, 4, 5, 6, 7, 8, 9, 6, 7, 8, 9, 10, 11, 12, 5, 6, 7, 8, 9, 10, 11, 8, 9, 10, 11, 12, 13, 14, 7, 8, 9, 10, 11, 12, 13, 10, 11, 12, 13, 14, 15, 16, 5, 6, 7, 8, 9, 10, 11, 8, 9, 10, 11, 12, 13, 14, 11, 12, 13, 14, 15, 16, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
The base 7/3 expansion is unique, and thus the sum of digits function is well-defined.
LINKS
EXAMPLE
In base 7/3 the number 7 is represented by 30 and so a(7) = 3 + 0 = 3.
MAPLE
a:= proc(n) `if`(n<1, 0, irem(n, 7, 'q')+a(3*q)) end:
seq(a(n), n=0..69); # Alois P. Heinz, May 14 2021
PROG
(Sage) # uses [basepqsum from A245355]
[basepqsum(7, 3, y) for y in [0..200]]
CROSSREFS
Sequence in context: A352425 A104148 A286450 * A323074 A195153 A328764
KEYWORD
nonn,base
AUTHOR
James Van Alstine, Jul 18 2014
EXTENSIONS
Definition corrected by Georg Fischer, May 14 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)