OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1) = 2: 0, 1.
a(4) = 1: 1024.
a(5) = 1: 59049.
a(7) = 2: 1048576, 9765625.
a(10) = 2: 1073741824, 3486784401.
a(11) = 3: 10000000000, 25937424601, 61917364224.
MAPLE
r:= proc(n, k) local b; b:= iroot(n, k); b+`if`(b^k<n, 1, 0) end:
a:= n-> r(10^n, 10) -r(10^(n-1), 10) +`if`(n=1, 1, 0):
seq(a(n), n=1..60);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Sep 12 2012
STATUS
approved