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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A245344 n written in fractional base 7/3. 0
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

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

EXAMPLE

In base 7/3 the number 7 is represented by 30 and so a(7) = 3 + 0 = 3.

PROG

(Sage)

def base73sum(n):

....L=[n]

....i=1

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

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

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

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

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

....return sum(L)

[base73sum(y) for y in [0..200]]

CROSSREFS

Cf. A024640, A053828, A007953.

Sequence in context: A082120 A104148 A286450 * A323074 A195153 A323081

Adjacent sequences:  A245341 A245342 A245343 * A245345 A245346 A245347

KEYWORD

nonn,base

AUTHOR

James Van Alstine, 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 April 23 06:08 EDT 2019. Contains 322381 sequences. (Running on oeis4.)