OFFSET
1,2
COMMENTS
These binary orders are nearly equal to n.
For several values of n, a(n) = n holds, e.g., for n = 1, 2, 3, 5, 6, 8, 9, 10, 11,12.
EXAMPLE
For n=12, 3^12 = 531441 = 129*2^12 + 3057*1^12; the binary order of 129 + 3057 = 3186 is ceiling(log_2(3186)) = 12, the exponent.
PROG
(PARI) {for(n=1, 72, d=divrem(3^n, 2^n); print1(ceil(log(d[1]+d[2])/log(2)), ", "))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 03 2001; revised Mar 10 2002
EXTENSIONS
Edited by Klaus Brockhaus, May 24 2003
STATUS
approved