Given a numerical function h:Z≥0→Z≥0 with h(0)>0, the Hilbert depth of h is hdepth(h)=max{d:j=0∑k(−1)k−j(k−jd−j)h(j)≥0 for all k≤d}; see arXiv:2309.10521 . In this note, we study the Hilbert depth of the functions h2(j)=aj2+bj+e, j≥0, and h3(j)=aj3+bj2+cj+e, j≥0, where a,b,c,e are some integers with a,e>0. We prove that if b<0 and b2≤4ae then hdepth(h2)≤11, and, if b<0and b2>4ae then hdepth(h2)≤13. Also, we show that if b<0 and b2≤3ac then hdepth(h3)≤67.