All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Sequence with only 3 numbers (Posted on 2009-03-07) Difficulty: 2 of 5
Trying to define a way to generate the terms of a sequence, and starting with the number 5, I found, surprisingly, that the way I used generated this sequence:

5, 8, 11, 5, 8, 11, 5, 8, 11, ...

And these 3 numbers repeat in this order indefinitely.

Define a simple way to generate this sequence.

See The Solution Submitted by pcbouhid    
Rating: 2.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Another simple way... | Comment 9 of 11 |
  1. Subtract 1
  2. Switch the digits (drop leading zeroes)
  3. Add 4

 5 ... - 1 = 4  =>  4 ... + 4 = ...
 8 ... - 1 = 7  =>  7 ... + 4 = ...
11 ... - 1 = 10 =>  1 ... + 4 = ...
 5 ... - 1 = 4  =>  4 ... + 4 = ...
 8 ... - 1 = 7  =>  7 ... + 4 = ...
11 ... - 1 = 10 =>  1 ... + 4 = ...
 5 ...


  Posted by Dej Mar on 2009-03-10 10:44:37
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (13)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information