STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
Iain Fox, <a href="/A298606/b298606.txt">Table of n, a(n) for n = 1..10369</a>
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
A293630 begins 1, 2, 1, 1, 1, 2, 1, 1, 2, ... so:
a(1) = 1.
a(2) = 1 + 2 = 3.
a(3) = 1 + 2 + 1 = 4.
a(4) = 1 + 2 + 1 + 1 = 5.
...
proposed
editing
editing
proposed
Accumulate@ Nest[Join @@ {#, Join @@ ConstantArray[Most@ #, Last@ #]} &, {1, 2}, 5] (* Michael De Vlieger, Jan 22 2018 *)
proposed
editing