<?php
$age=16;
for ($c=10000;$c<=1000000;$c+=$p){
$p=0.1*$c;
$age++;
}
echo "1kk at $age";