The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A045670 Digital sum (in base 10) of numbers in base 3 of the alternate number system. 3
1, 2, 3, 2, 3, 4, 3, 4, 5, 4, 5, 6, 3, 4, 5, 4, 5, 6, 5, 6, 7, 4, 5, 6, 5, 6, 7, 6, 7, 8, 5, 6, 7, 6, 7, 8, 7, 8, 9, 4, 5, 6, 5, 6, 7, 6, 7, 8, 5, 6, 7, 6, 7, 8, 7, 8, 9, 6, 7, 8, 7, 8, 9, 8, 9, 10, 5, 6, 7, 6, 7, 8, 7, 8, 9, 6, 7, 8, 7, 8, 9, 8, 9, 10, 7, 8, 9, 8, 9, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The alternate number system has no need for the digit zero.
REFERENCES
Robert R. Forslund, A Logical Alternative to the Existing Positional Number System, Southwest Journal of Pure and Applied Mathematics. Vol. 1 1995 pp. 27-29.
LINKS
R. R. Forslund, A logical alternative to the existing positional number system, Southwest Journal of Pure and Applied Mathematics, 1995 Vol. 1.
R. R. Forslund, Positive Integer Pages
FORMULA
a(n) = A007953(A007932(n)). - Andrew Howroyd, Jan 27 2020
PROG
(PARI) a(n)={my(k=3); while(n>k, n-=k; k*=3); my(d=digits(n+k-1, 3)); vecsum(d) + #d - 2} \\ Andrew Howroyd, Jan 27 2020
CROSSREFS
Sequence in context: A275868 A100795 A045781 * A363678 A194960 A111439
KEYWORD
base,nonn
AUTHOR
Bob Forslund (forslund(AT)tbaytel.net)
EXTENSIONS
Terms a(25) and beyond from Andrew Howroyd, Jan 27 2020
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 May 22 02:24 EDT 2024. Contains 372741 sequences. (Running on oeis4.)