sub e {
$N=pop;$a[$_]=int(1+1/$_)for 1..$N;for(;$N>9;print int$x)
{for($n=$N--;--$n;$a[$n]=$x%$n,$x=10*$a[$n-1]+$x/$n){}}
}
e(1000);
####
Congratulations. You've made it to level 2. Go to www.xxxxx.org and enter xxxxxxxxxxx as the login and the answer to this equation as the password.
f(1)= xxxxxxxxxx
f(2)= xxxxxxxxxx
f(3)= xxxxxxxxxx
f(4)= xxxxxxxxxx
f(5)= __________
####
Congratulations.
Nice work. Well done. Mazel tov. You've made it to Google and we're glad you're here.
One thing we learned while building Google is that it's easier to find what you're looking for if it comes looking for you. What we're looking for are the best engineers in the world. And here you are.
[snip]