login
A374396
a(n) is the last term in the n-th row of A374394.
3
0, 1, 2, 2, 4, 3, 4, 7, 7, 6, 7, 7, 12, 11, 12, 10, 10, 12, 11, 12, 20, 20, 19, 20, 20, 17, 16, 17, 20, 20, 19, 20, 20, 33, 32, 33, 31, 31, 33, 32, 33, 28, 28, 27, 28, 28, 33, 32, 33, 31, 31, 33, 32, 33, 54, 54, 53, 54, 54, 51, 50, 51, 54, 54, 53, 54, 54, 46
OFFSET
0,3
COMMENTS
a(n) is the greatest number z <= n such that the Zeckendorf representations of z and n-z have no common Fibonacci numbers and when combined together correspond to the lazy Fibonacci representation of n.
FORMULA
a(n) = A022290(A374356(1+A003754(n)), k).
a(n) = n - A374395(n).
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jul 10 2024
STATUS
approved