Puzzles/Easy Sequence 10/Solution

From testwiki
Revision as of 22:34, 20 December 2017 by imported>Pi zero ({{BookCat}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If one indexes the sequence from t, then the function for each term is trivially

an={1 if n>t0 otherwise

Because this is the end of the easy sequences, you get something a bit more tricky - another solution:

an={1 if n<t1 if t<n<t+71 if t+7<n0 otherwise

Part of what mathematicians do is look for patterns. But be warned, just because it *looks* like it's doing something doesn't mean it's going to keep doing it forever! Showing that something does actually follow a pattern is some of what mathematicians spend their time on. But don't worry about that now, go look at some more sequences!


A bit too trivial for my liking, what about

an=(n+4) 𝐝𝐢𝐯 6

resulting in 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2...


What about any of these?

an=(n+k) 𝐝𝐢𝐯 (k+2) with k >= 4

The sequence wasn´t supposed to necessarily change from 1 to 2 exactly after the ellipsis ("...").


another solution: an=(k*f(n)) 𝐝𝐢𝐯 f(n) with k ]1,2[


f(n) = f(n-1) ! for n > 1 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...

Template:BookCat