OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1) = 2: 0, 1.
a(2) = 1: 32.
a(3) = 1: 243.
a(4) = 3: 1024, 3125, 7776.
a(5) = 3: 16807, 32768, 59049.
a(6) = 6: 100000, 161051, 248832, 371293, 537824, 759375.
a(7) = 10: 1048576, 1419857, 1889568, 2476099, 3200000, 4084101, 5153632, 6436343, 7962624, 9765625.
MAPLE
r:= proc(n, k) local b; b:= iroot(n, k); b+`if`(b^k<n, 1, 0) end:
a:= n-> r(10^n, 5) -r(10^(n-1), 5) +`if`(n=1, 1, 0):
seq(a(n), n=1..50);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Sep 12 2012
STATUS
approved