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.

A111621 n divided by the first lower diagonal of the array in A111618.

This page as a plain text file.
%I A111621 #4 Mar 30 2012 18:36:50
%S A111621 2,1,2,1,2,1,2,1,1,1,2,1,1,1,2,1,2,1,2,1,2,1,2,1,1,1,2,1,1,1,2,1,2,1,
%T A111621 2,1,1,1,2,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,2,1,2,1,2,1,2,1,1,1,2,1,
%U A111621 1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,1,1,2,1,1,1,1
%N A111621 n divided by the first lower diagonal of the array in A111618.
%t A111621 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[ n / g[n, n - 1], {n, 2, 106}]
%Y A111621 Cf. A109626, A111618.
%K A111621 nonn
%O A111621 2,1
%A A111621 _Paul D. Hanna_ and _Robert G. Wilson v_, Aug 01 2005