|
Search: id:A095115
|
|
|
| A095115 |
|
a(1)=1. Given a(1),...,a(n-1), let S = {a(1), ..., a(n-1), |a(2)-a(1)|, ..., |a(n-1)-a(n-2)|}. Let d be the smallest positive integer not in S. Then a(n) is the smallest one of a(n-1)-d and a(n-1)+d which is a positive integer not in S union {d}. |
|
+0 1
|
|
| 1, 3, 7, 12, 18, 10, 19, 30, 17, 31, 16, 36, 57, 35, 58, 34, 59, 33, 60, 32, 61, 98, 136, 97, 137, 96, 54
(list; graph; listen)
|
|
|
Search completed in 0.002 seconds
|