OFFSET
0,4
COMMENTS
LINKS
Rémy Sigrist, PARI program for A169637
EXAMPLE
For n=3, the first 4 elements of the augmented sequence are (1,1,1,2), with a(3)=4 permutations, namely (1,1,1,2), (1,1,2,1), (1,2,1,1) and (2,1,1,1).
MATHEMATICA
f[0] = 1; f[1] = 1; f[2] = 1;
f[n_] := f[n] = f[n - f[n - 1]] + f[n - f[n - 2]];
a[m_] := Length[Permutations[Table[f[i], {i, 0, m}]]];
(* b = Table[a[m], {m, 0, 10}] *)
(* A much better way to compute the terms is to use the multinomials of the multiplicities of the terms of A005229! - Joerg Arndt, Dec 23 2014 *)
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Apr 04 2010
EXTENSIONS
Definition clarified, comment and example added - R. J. Mathar, Dec 08 2010
More terms from Rémy Sigrist, Jun 29 2021
STATUS
approved