Hacker News new | ask | show | jobs
by sebzim4500 43 days ago
You forgot to specify that f(n) approaches 1 so that is an easy challenge
1 comments

yes f(n) tending to 1 as n tends to infinity is the worthy goal. how slowly it gets there would determine whether the growth is effectively O(n) or something slightly larger but that refinement can come later.