This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A245349 Sum of digits of n in fractional base 7/4. 0
 0, 1, 2, 3, 4, 5, 6, 4, 5, 6, 7, 8, 9, 10, 5, 6, 7, 8, 9, 10, 11, 9, 10, 11, 12, 13, 14, 15, 7, 8, 9, 10, 11, 12, 13, 11, 12, 13, 14, 15, 16, 17, 12, 13, 14, 15, 16, 17, 18, 7, 8, 9, 10, 11, 12, 13, 11, 12, 13, 14, 15, 16, 17, 12, 13, 14, 15, 16, 17 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS The base 7/4 expansion is unique, and thus the sum of digits function is well-defined. LINKS EXAMPLE In base 7/4 the number 7 is represented by 40 and so a(7) = 4 + 0 = 4. PROG (Sage) def base74sum(n): ....L=[n] ....i=1 ....while L[i-1]>=7: ........x=L[i-1] ........L[i-1]=x.mod(7) ........L.append(4*floor(x/7)) ........i+=1 ....return sum(L) [base74sum(y) for y in [0..200]] CROSSREFS Cf. A024641, A053828, A007953. Sequence in context: A096894 A097751 A070667 * A122416 A307784 A134665 Adjacent sequences:  A245346 A245347 A245348 * A245350 A245351 A245352 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.

Last modified October 16 13:08 EDT 2019. Contains 328063 sequences. (Running on oeis4.)