The following problem is easy to solve with the help of a calculator. However, when doing it manually, we are faced with a very large exponentiation ($68^8$) and which, at first glance, does not seem possible to be manipulated together with the remaining data of the problem to find a simplified final result. The problem follows:
Suppose a password for a computer system must be exactly $8$ characters long, where each character in the password is either a lowercase letter, an uppercase letter, a decimal digit, or one of six special characters (*><!+=). If it takes a microsecond ($10^{-6}$ seconds) for a hacker to check if a password is correct, how many years would it take for the hacker to try every possible password?
What I've tried: Using a calculator, I first calculate the number of possible passwords, which is $68^8$. Then I multiply it by the time it takes for the hacker to test each one, so it becomes $68^8\times10^{-6}$. To convert the result into years, I first convert it into minutes by dividing by $60$, then into hours by dividing by $60$ again, then I convert it into days by dividing by $24$, and finally into years by dividing by $365$. It gives a little more than $14$ years.
I have tried to simplify the expression $$\frac{68^8}{10^6\cdot 60^2\cdot 24\cdot 365}$$ that gives the answer of the question, but even finding some common factors between numerator and denominator, this doesn't help too much, because $17$ is a prime factor of $68$, and I don't think it appears as a factor of anything in the denominator.
Also, I would like to do that in a efficient way, in a short time, without spending too much paper.
Edit.: We have noticed that a aproximated answer is the better option here. I think it is suficient to get the integer part of the aumont of years.
I woul do it this way:
Seconds in a hour $=60*60=36*10^2$
hours in a day $=24\approx 25$
days in a year $=365\approx36*10$
and then approximate $36*36\approx 36*3*10\approx 100*10=10^3$
so we get $36*10^2*36*10*25\approx10^3*10^3*25=2.5*10^7$ seconds in a year, i.e. $2.5*10^{13}$ microseconds in a year.
$$\frac{68^8}{2.5*10^{13}}\approx \frac{7^8*10^8}{2.5*10^{13}}=\dots$$ and since $7^2=49\approx50$ i would do $$\dots=\frac{50^4}{2.5*10^{5}}=\frac{5^4*10^4}{2.5*10^{5}}=\frac{5^4}{2.5*10}=\frac{5^3}{2.5*2}=\frac{50}{4}=12.5$$