login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A111625 n divided by the second lower diagonal of A109626 & 3/2 -> 2. 0

%I #2 Mar 30 2012 17:31:16

%S 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 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 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 n divided by the second lower diagonal of A109626 & 3/2 -> 2.

%C A sequence of just 1's, 2's and 3's.

%C a/A111624(n)=1 if n == 0,2 (Mod 3).

%C 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 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 Cf. A111624.

%K nonn

%O 1,1

%A _Robert G. Wilson v_, Aug 03 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 17 05:50 EDT 2024. Contains 374360 sequences. (Running on oeis4.)