OFFSET
1,2
COMMENTS
A sequence of just 1's and 2's.
MATHEMATICA
f[n_] := f[n] = Block[{a}, a[0] = 1; a[l_] := a[l] = Block[{k = 1, s = Sum[ a[i]*x^i, {i, 0, l - 1}]}, While[ IntegerQ[ Last[ CoefficientList[ Series[(s + k*x^l)^(1/n), {x, 0, l}], x]]] != True, k++ ]; k]; Table[a[j], {j, 0, 128}]]; g[n_, m_] := f[n][[m]]; Table[ g[2n, n]/n, {n, 80}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna and Robert G. Wilson v, Aug 02 2005
STATUS
approved