Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A137843
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A137843 Define S(1) = {1}, S(n+1) = S(n) U S(n) if a(n) is even, S(n+1) = S(n) U (n+1) 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, 2, 1, 1, 2, 1, 4, 1, 2, 1, 1, 2, 1, 5, 1, 2, 1, 1, 2, 1, 4, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 4, 1, 2, 1, 1, 2, 1, 5, 1, 2, 1, 1, 2, 1, 4, 1, 2, 1, 1, 2, 1, 7, 1, 2, 1, 1, 2, 1, 4, 1, 2, 1, 1, 2, 1, 5, 1, 2, 1, 1, 2, 1, 4, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 4, 1, 2, 1, 1, 2, 1, 5, 1, 2, 1, 1, 2, 1, 4, 1, 2 (list; graph; listen)
OFFSET

1,2

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

EXAMPLE

S(1) = {1}.

S(2) = {1,2,1}, because a(1) = 1, which is odd.

S(3) = {1,2,1,1,2,1}, because a(2) = 2, which is even.

S(4) = {1,2,1,1,2,1,4,1,2,1,1,2,1}.

S(5) = {1,2,1,1,2,1,4,1,2,1,1,2,1,5,1,2,1,1,2,1,4,1,2,1,1,2,1}

Etc.

CROSSREFS

Cf. A137844.

Sequence in context: A132066 A102190 A138650 this_sequence A130194 A113926 A165585

Adjacent sequences: A137840 A137841 A137842 this_sequence A137844 A137845 A137846

KEYWORD

easy,nonn

AUTHOR

Leroy Quet, Feb 13 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 14:25 EST 2009. Contains 167438 sequences.


AT&T Labs Research