## A real recursion

Published on Saturday, 23rd May 2015, 01:00 pm; Solved by 374;
Difficulty rating: 45%

### Problem 517

For every real number $a \gt 1$ is given the sequence $g_a$ by:
$g_{a}(x)=1$ for $x \lt a$
$g_{a}(x)=g_{a}(x-1)+g_a(x-a)$ for $x \ge a$
$G(n)=g_{\sqrt {n}}(n)$
$G(90)=7564511$.

Find $\sum G(p)$ for $p$ prime and $10000000 \lt p \lt 10010000$