OFFSET
0,2
MATHEMATICA
a[n_] := a[n] = Block[{k = a[n - 1] + 2, s = Sum[ a[i]*x^i, {i, 0, n - 1}]}, If[IntegerQ@ Last@ CoefficientList[ Series[ Sqrt[s + k*x^n], {x, 0, n}], x], k, k + 1]]; a[0] = 1; CoefficientList[ Series[ Sqrt[ Sum[ a[i]*x^i, {i, 0, 36}]], {x, 0, 36}], x]
CROSSREFS
KEYWORD
sign
AUTHOR
Paul D. Hanna & Robert G. Wilson v, Nov 11 2007
STATUS
approved