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.

A111616 n divided by the third upper diagonal of the array in A111615.

This page as a plain text file.
%I A111616 #4 Mar 30 2012 18:36:50
%S A111616 1,1,1,1,1,2,1,1,1,2,1,1,1,1,1,1,1,2,1,2,1,2,1,1,1,1,1,1,1,2,1,1,1,2,
%T A111616 1,2,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,2,1,1,1,2,1,2,1,1,1,2,1,1,1,1,1,1,
%U A111616 1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,2,1,1,1,2,1,2,1,1,1,2,1,2,1,2,1,2,1,2,1
%N A111616 n divided by the third upper diagonal of the array in A111615.
%C A111616 a(n)=2 for n's: 6,10,18,20,22,30,34,36,38,44,50,52,56,58,62,... =A111617.
%t A111616 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 + 3], {n, 105}]
%Y A111616 Cf. A111615.
%K A111616 nonn
%O A111616 1,6
%A A111616 _Paul D. Hanna_ and _Robert G. Wilson v_, Jul 30 2005