%I #13 Apr 08 2021 00:33:50
%S 0,1,3,3,5,5,11,11,11,11,11,11,17,17,17,17,17,17,23,23,23,23,23,23,29,
%T 29,29,29,29,29,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,
%U 59,59,59,59,59,59,59,59,59,59,59,59,89,89,89,89,89,89,89
%N a(0) = 0 and for any n > 0, a(n) = A343044(a(n-1), n).
%C This sequence has similarities with A087052 and A343041.
%C If we remove duplicate terms, then we obtain A343048.
%H Rémy Sigrist, <a href="/A343045/b343045.txt">Table of n, a(n) for n = 0..10000</a>
%H Rémy Sigrist, <a href="/A343045/a343045.gp.txt">PARI program for A343045</a>
%H <a href="/index/Di#dismal">Index entries for sequences related to dismal (or lunar) arithmetic</a>
%H <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a>
%e The first terms, in decimal and in primorial base, are:
%e n a(n) prim(n) prim(a(n))
%e -- ---- ------- ----------
%e 0 0 0 0
%e 1 1 1 1
%e 2 3 10 11
%e 3 3 11 11
%e 4 5 20 21
%e 5 5 21 21
%e 6 11 100 121
%e 7 11 101 121
%e 8 11 110 121
%e 9 11 111 121
%e 10 11 120 121
%e 11 11 121 121
%e 12 17 200 221
%e 13 17 201 221
%e 14 17 210 221
%o (PARI) See Links section.
%Y Cf. A343041, A343044, A343048.
%Y Cf. A087052.
%K nonn,base
%O 0,3
%A _Rémy Sigrist_, Apr 05 2021