Please help to solve functional equation for real numbers
We have:
$a\in \mathbb{R}$ and $a>1$
$f_a(x)=1$ if $x<a$
$f_a(x)=f_a(x-1)+f_a(x-a)$ for $x\ge a$
@update
Actually we have to find $f(n)$ in case $a=\sqrt n$, where $n$ is natural number.
So question is find $G(n)=f_{\sqrt n} (n)$ for $n \in \mathbb N$ and $n \ge 2$
$G(2)=2$ $G(3)=3$ $G(4)=5$ $G(5)=5$ $G(6)=8$ $G(7)=9$ $G(8)=13$ $G(9)=19$ $G(10)=19$ $G(11)=28$ $G(12)=35$ $G(13)=42$ $G(14)=50$ $G(15)=69$ $G(16)=95$ $G(17)=95$ $G(18)=131$ $G(19)=143$ $G(20)=194$ $G(21)=231$ $G(22)=265$ $G(23)=325$ $G(24)=431$ $G(25)=571$
$G(1000)=35900447427425971749758269477304230$
$G(2000)=682714394418480977725144681014302992073361435492835908$
...
$G(10^4)\approx 9.33\cdot 10^{146}$
After $n=10^4$ i can't calculate $G$ because recursion becames too deep.
We have to find numbers like $G(10^7) \mod 1000000007$
So function should be simplified somehow.