OFFSET
1,3
EXAMPLE
The Lucas numbers, beginning with 1, are 1, 3, 4, 7, 11, 18, ..., so that a(5) = 4.
MATHEMATICA
Flatten[Map[ConstantArray[LucasL[#], LucasL[# - 1]] &, Range[15]]] (* Peter J. C. Moses, April 30 2022 *)
PROG
(Python)
from itertools import islice
def A352717_gen(): # generator of terms
a, b = 1, 3
while True:
yield from (a, )*(b-a)
a, b = b, a+b
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 01 2022
STATUS
approved