the equation is

@N means N^N + N^(N+1) + N^(N+2) + ... + N^(N+9)

Find the sum of digits in @321

so i made a little program that first calculate @N

PHP Code:
$n 321;
$res 0;

for(
$i=0;$i<10;$i++){

$res $res bcpow($n,$n+$i);

}

echo 
$res
i get INF !!!
so why the result is infinity ?