Puzzle: sequence without multiples of 3
09-14-2019, 08:29 AM (This post was last modified: 09-14-2019 06:46 PM by Albert Chan.)
Post: #9
 Albert Chan Senior Member Posts: 1,842 Joined: Jul 2018
RE: Puzzle: sequence without multiples of 3
Here is the HP-12C code that produce f(n), f(n) < 10^10

Code:
Enter Enter Enter 2 / INTG 2 × − Enter ×    ; n%2 2 − + 2 ÷ +               ; f(n) = n + (n + n%2 − 2) / 2
 « Next Oldest | Next Newest »

 Messages In This Thread Puzzle: sequence without multiples of 3 - Albert Chan - 09-13-2019, 07:05 PM RE: Puzzle: sequence without multiples of 3 - Voldemar - 09-13-2019, 08:57 PM RE: Puzzle: sequence without multiples of 3 - Voldemar - 09-13-2019, 09:02 PM RE: Puzzle: sequence without multiples of 3 - Albert Chan - 09-13-2019, 09:43 PM RE: Puzzle: sequence without multiples of 3 - Thomas Okken - 09-14-2019, 12:30 AM RE: Puzzle: sequence without multiples of 3 - John Keith - 09-14-2019, 12:54 AM RE: Puzzle: sequence without multiples of 3 - Albert Chan - 09-14-2019, 01:01 AM RE: Puzzle: sequence without multiples of 3 - Gerald H - 09-14-2019, 05:37 AM RE: Puzzle: sequence without multiples of 3 - Albert Chan - 09-14-2019 08:29 AM

User(s) browsing this thread: 1 Guest(s)