OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1) = 2: 0, 1.
a(3) = 1: 512.
a(5) = 1: 19683.
a(9) = 2: 134217728, 387420489.
a(10) = 3: 1000000000, 2357947691, 5159780352.
a(11) = 4: 10604499373, 20661046784, 38443359375, 68719476736.
MAPLE
r:= proc(n, k) local b; b:= iroot(n, k); b+`if`(b^k<n, 1, 0) end:
a:= n-> r(10^n, 9) -r(10^(n-1), 9) +`if`(n=1, 1, 0):
seq(a(n), n=1..60);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Sep 12 2012
STATUS
approved