OFFSET
1,4
COMMENTS
The main entry for this problem is A300576. In this version there are three knights who are searching for the princess; each knight can search a different room.
LINKS
Dmitry Kamenetsky, Optimal solutions
FORMULA
It seems that for n >= 3:
if n = 3 mod 5, then a(n) = (n - 3)/5*2 + 1,
otherwise a(n) = floor((n - 4)/5)*2 + 2.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Dmitry Kamenetsky, Mar 21 2018
STATUS
approved