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.

A111625 n divided by the second lower diagonal of A109626 & 3/2 -> 2.

This page as a plain text file.
%I A111625 #2 Mar 30 2012 17:31:16
%S A111625 3,1,1,3,1,1,3,1,1,2,1,1,3,1,1,2,1,1,2,1,1,1,1,1,3,1,1,3,1,1,1,1,1,2,
%T A111625 1,1,2,1,1,3,1,1,3,1,1,3,1,1,1,1,1,2,1,1,2,1,1,1,1,1,1,1,1,3,1,1,2,1,
%U A111625 1,1,1,1,1,1,1,2,1,1,3,1,1,1,1,1,1,1,1,3,1,1,2,1,1,3,1,1,2,1,1,2,1,1,1,1,1
%N A111625 n divided by the second lower diagonal of A109626 & 3/2 -> 2.
%C A111625 A sequence of just 1's, 2's and 3's.
%C A111625 a/A111624(n)=1 if n == 0,2 (Mod 3).
%C A111625 a(3n-2): 3,3,3,2,3,2,2,1,3,3,1,2,2,3,3,3,1,2,2,1,1,3,2,1,1,2,3,1,1,3,2,3,2,2,1,2,3,2,2,2,3,3,3,3,2,1,1,3
%t A111625 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, 144}]]; g[n_, m_] := f[n][[m]];Table[ Ceiling[ n/g[n, n - 2]], {n, 3, 108}]
%Y A111625 Cf. A111624.
%K A111625 nonn
%O A111625 1,1
%A A111625 _Robert G. Wilson v_, Aug 03 2005