OFFSET
1,3
LINKS
R. Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = f(n,1) with f(m,p) = if p=m then 1 else (if p<m then f(m-1,1+p^2)+f(m,p+1) else 0)."
EXAMPLE
a(10) = #{10, 9+1, 8+2, 7+2+1} = 4;
a(11) = #{11, 10+1, 9+2, 8+2+1} = 4;
a(12) = #{12, 11+1, 10+2, 9+2+1} = 4;
a(13) = #{13, 12+1, 11+2, 10+3, 10+2+1} = 5;
a(14) = #{14, 13+1, 12+2, 11+3, 11+2+1, 10+3+1} = 6;
a(15) = #{15, 14+1, 13+2, 12+3, 12+2+1, 11+3+1} = 6.
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 08 2007
STATUS
approved