OFFSET
1,4
COMMENTS
This sequence is a variant of A373811. The two sequences coincide over the first 22 terms.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Illustration for a(21) = 6
Rémy Sigrist, C++ program
FORMULA
a(n) <= a(n+1) <= a(n) + 1.
EXAMPLE
See illustration in Links section.
PROG
(C++) // See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Aug 15 2024
STATUS
approved