OFFSET
1,2
COMMENTS
A sequence of just 1's, 2's and 3'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[3n, n]/n, {n, 53}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna and Robert G. Wilson v, Aug 02 2005
STATUS
approved