login
A087838
a[n] =a[a[a[a[n-2]]]]+ a[n - a[n-2]]
0
1, 1, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16
OFFSET
1,3
COMMENTS
A fourth-order recursion based on Mallows's A005229.
MATHEMATICA
Mallows[n_Integer?Positive] := Mallows[n] = Mallows[Mallows[Mallows[Mallows[n-2]]]]+ Mallows[n - Mallows[n-2]] Mallows[1] = Mallows[2] = 1 digits=200 a=Table[Mallows[n], {n, 1, digits}]
CROSSREFS
Cf. A005229.
Sequence in context: A087839 A106742 A106733 * A057627 A013940 A029129
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Oct 07 2003
STATUS
approved