OFFSET
1,1
COMMENTS
There is a group a(i+39) = a(i)+220 for i=1,..,39, then a group a(i+39)=a(i)+220 for i=40,...,78; these correlations become irregular later in the sequence.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Clear[a]; reversed = {a[2] = 1, a[1] = 1}; blocs[len_] := Module[{bloc1, par, pos}, bloc1 = Take[reversed, len]; par = Partition[reversed, len]; pos = Position[par, bloc_ /; bloc != bloc1, 1, 1]; If[pos == {}, Length[par], pos[[1, 1]] - 1]]; a[n_] := a[n] = Module[{an}, an = Table[{blocs[len], len}, {len, 1, Quotient[n - 1, 2]}] // Sort // Last // First; PrependTo[reversed, an]; an]; Position[Table[a[n], {n, 1, 355}], 3] // Flatten (* Jean-François Alcover, Mar 25 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Curtz, Mar 03 2009
EXTENSIONS
Extended by R. J. Mathar, Mar 15 2009
STATUS
approved