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
Andrew Howroyd, Table of n, a(n) for n = 1..10000
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
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
KEYWORD
base,nonn
AUTHOR
Bob Forslund (forslund(AT)tbaytel.net)
EXTENSIONS
Terms a(25) and beyond from Andrew Howroyd, Jan 27 2020
STATUS
approved