Post Reply 
Puzzle: sequence without multiples of 3
09-14-2019, 12:30 AM (This post was last modified: 09-14-2019 12:39 AM by Thomas Okken.)
Post: #5
RE: Puzzle: sequence without multiples of 3
f(n) = floor((n-1)*1.5)+1

This wouldn't be much of a puzzle if the most obvious formula happened to be the solution, but I thought I'd get it out of the way. As a baseline, if you will.

UPDATE to add the answer to the second question: f(10^6) = 1,499,999
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Puzzle: sequence without multiples of 3 - Thomas Okken - 09-14-2019 12:30 AM



User(s) browsing this thread: