Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A080586
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A080586 A run of 3*2^n 1's followed by a run of 3*2^n 2's, for n=0, 1, 2, ... +0
3
1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (list; graph; listen)
OFFSET

0,4

FORMULA

a(n) = ( 3 - (-1)^A079944(A002264(n)) )/2, A079944(A002264(n))=floor(log[2](4*(floor((n+6)/3))/3)) - floor(log[2](floor((n+6)/3))) - Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), Feb 24 2003

Also a(n) = 1+A079944(A002264(n))=floor(log[2](8*(floor((n+6)/3))/3)) - floor(log[2](floor((n+6)/3))) - Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), Feb 24 2003

MAPLE

f := (c, n)->seq(c, i=1..3*2^n); [f(1, 0), f(2, 0), f(1, 1), f(2, 1), f(1, 2), f(2, 2), f(1, 3), f(2, 3)]; f;

CROSSREFS

Cf. A079948, A080587.

Equals 1 + A080584.

Sequence in context: A102679 A025146 A067397 this_sequence A128522 A025454 A126061

Adjacent sequences: A080583 A080584 A080585 this_sequence A080587 A080588 A080589

KEYWORD

nonn

AUTHOR

njas, Feb 23 2003

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research