cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A111629 a(n) = A109626(3n, n)/n.

This page as a plain text file.
%I A111629 #7 Jan 23 2025 12:56:54
%S A111629 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,
%T A111629 3,3,3,3,3,2,3,3,1,3,3,2,3,3,2,3,3,1,3
%N A111629 a(n) = A109626(3n, n)/n.
%C A111629 A sequence of just 1's, 2's and 3's.
%t A111629 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}]
%Y A111629 Cf. A109626.
%K A111629 nonn,more
%O A111629 1,2
%A A111629 _Paul D. Hanna_ and _Robert G. Wilson v_, Aug 02 2005