OFFSET
0,3
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10609
Rémy Sigrist, PARI program
FORMULA
EXAMPLE
For n = 58:
- with T = A000073,
- the greedy representation of 58 is: T(9) + T(7) + T(3),
- the lazy representation of 58 is: T(9) + T(6) + T(5) + T(4) + T(3),
- so a(59) = T(9) + T(3) = 45.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Sep 06 2022
STATUS
approved