OFFSET
1,1
EXAMPLE
101 is not divisible by 10 and 101^1 (101), 101^2 (10201), 101^3 (1030301), 101^4 (104060401), and 101^5 (10510100501) all have 1, 2, 3, 4, and 5 zeros, respectively. So, a(1) = a(2) = a(3) = a(4) = a(5) = 101.
PROG
(Python)
def Cu(n):
..for k in range(10**10):
....if k% 10 != 0:
......if str(k**n).count("0") == n:
........return k
n = 1
while n < 100:
..print(Cu(n))
..n += 1
(PARI) a(n) = {k = 1; while (((k % 10) == 0) || (d = digits(k^n)) && (sum(i=1, #d, d[i] == 0) != n), k++); k; } \\ Michel Marcus, Apr 30 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Derek Orr, Apr 24 2014
STATUS
approved