We claim that for any odd n,an=n. The proof is by induction. To get the base cases n=1, 3, we compute a1=1,a2=⌊23/1⌋=8,a3=⌊33/8⌋=3. And if the claim holds for odd n≥3, then an+1=⌊(n+1)3/n⌋=n2+3n+3, so an+2=⌊(n+2)3/(n2+3n+3)⌋=⌊(n3+6n2+12n+8)/(n2+3n+2)⌋=⌊n+2+n2+3n+3n2+3n+2⌋=n+2. So the claim holds, and in particular, a999=999.