login
A111629
T(3n, n)/n of A109626.
1
1, 3, 3, 1, 3, 3, 3, 3, 3, 1, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 3, 3, 3, 1, 3, 3, 1, 3, 3, 2, 3, 3, 1, 3, 3, 3, 3, 3, 2, 3, 3, 1, 3, 3, 2, 3, 3, 2, 3, 3, 1, 3
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
Cf. A109626.
Sequence in context: A321129 A278265 A171369 * A083953 A066400 A125562
KEYWORD
nonn
AUTHOR
STATUS
approved