|
Search: id:A137844
|
|
|
| A137844 |
|
Define S(1) = {1}, S(n+1) = S(n) U S(n) if a(n) is even, S(n+1) = S(n) U n U S(n) if a(n) is odd. Sequence {a(n), n >= 1} is limit as n approaches infinity of S(n). (U represents concatenation.). |
|
+0 2
|
|
| 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 5, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 6, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 5, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 2
(list; graph; listen)
|
|
|
OFFSET
|
1,4
|
|
|
LINKS
|
Leroy Quet, Home Page (listed in lieu of email address)
|
|
EXAMPLE
|
S(1) = {1}.
S(2) = {1,1,1}, because a(1) = 1, which is odd.
S(3) = {1,1,1,2,1,1,1}, because a(2) = 1, which is odd.
S(4) = {1,1,1,2,1,1,1,3,1,1,1,2,1,1,1}.
S(5) = {1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1}, because a(4) = 2, which is even.
Etc.
|
|
CROSSREFS
|
Cf. A137843.
Sequence in context: A124944 A094392 A111946 this_sequence A079229 A160267 A115621
Adjacent sequences: A137841 A137842 A137843 this_sequence A137845 A137846 A137847
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Leroy Quet, Feb 13 2008
|
|
|
Search completed in 0.002 seconds
|