%I #9 Jun 18 2022 13:26:48
%S 2,1,1211,1241,142251,15243241,2534134241,2554334241,3564434231,
%T 163564533221,363544633231,463534833231,183625441032221,
%U 2826254473524110,281726355433825120,382726554443824120,482726555453823120,482726656443822120,482746555433922120
%N A summarize Fibonacci sequence: summarize the previous two terms!.
%C From the 25th term the sequence gets into a cycle of 117.
%H Alois P. Heinz, <a href="/A036109/b036109.txt">Table of n, a(n) for n = 0..1000</a>
%H <a href="/index/Sa#swys">Index to sequences related to say what you see</a>
%p a:= proc(n) option remember; `if`(n<2, 2-n, (p-> parse(cat(seq((c->
%p `if`(c=0, [][], [c, 9-i][]))(coeff(p, x, 9-i)), i=0..9))))(
%p add(x^i, i=map(x-> convert(x, base, 10)[], [a(n-1),a(n-2)]))))
%p end:
%p seq(a(n), n=0..20); # _Alois P. Heinz_, Jun 18 2022
%Y Cf. A036059.
%K base,easy,nonn
%O 0,1
%A _Floor van Lamoen_
|