login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A245347 Sum of digits of n written in fractional base 8/3. 0
0, 1, 2, 3, 4, 5, 6, 7, 3, 4, 5, 6, 7, 8, 9, 10, 6, 7, 8, 9, 10, 11, 12, 13, 4, 5, 6, 7, 8, 9, 10, 11, 7, 8, 9, 10, 11, 12, 13, 14, 10, 11, 12, 13, 14, 15, 16, 17, 8, 9, 10, 11, 12, 13, 14, 15, 11, 12, 13, 14, 15, 16, 17, 18, 4, 5, 6, 7, 8, 9, 10, 11, 7, 8, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

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

LINKS

Table of n, a(n) for n=0..74.

FORMULA

a(n) = A007953(A053829(n))

EXAMPLE

In base 8/3 the number 14 is represented by 36 and so a(14) = 3 + 6 = 9.

PROG

(Sage)

def base83sum(n):

....L=[n]

....i=1

....while L[i-1]>=8:

........x=L[i-1]

........L[i-1]=x.mod(8)

........L.append(3*floor(x/8))

........i+=1

....return sum(L)

[base83sum(w) for w in [0..200]]

CROSSREFS

Cf. A007953, A000120, A024645, A053829, A244040.

Sequence in context: A071074 A279648 A066323 * A278059 A115871 A138221

Adjacent sequences:  A245344 A245345 A245346 * A245348 A245349 A245350

KEYWORD

nonn,base

AUTHOR

Hailey R. Olafson, Jul 18 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 20 23:22 EDT 2019. Contains 321354 sequences. (Running on oeis4.)