Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A123564
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A123564 The infinite Fibonacci word reencoded by writing successive non-overlapping pairs of bits as decimal numbers. +0
1
2, 3, 1, 1, 2, 3, 1, 1, 2, 2, 3, 1, 2, 2, 3, 1, 2, 2, 3, 1, 1, 2, 3, 1, 1, 2, 2, 3, 1, 2, 2, 3, 1, 2, 2, 3, 1, 1, 2, 3, 1, 1, 2, 3, 1, 1, 2, 2, 3, 1, 2, 2, 3, 1, 1, 2, 3, 1, 1, 2, 3, 1, 1, 2 (list; graph; listen)
OFFSET

1,1

COMMENT

The algorithm used here suggests multiple variations such as using more than 2 bits, allowing overlap of successive subwords, using other numbers for the encoding of subwords or using other binary sequences. (E.g. overlapping: a(n)=2*A005614(n)+A005614(n+1) )

FORMULA

f=(sqrt(5)-1)/2; m=2*n; a(n)=floor(m*f)-2*floor((m-1)*f)+floor((m+1)*f); OR Using a previously generated Fibonacci word = A005614 : a(n)=2*A005614(2n-1)+A005614(2n)

EXAMPLE

a(1)=2*1+0=2

a(2)=2*1+1=3

a(3)=2*0+1=1

PROGRAM

f=(sqrt(5)-1)/2; m=2*n; a(n)=floor(m*f)-2*floor((m-1)*f)+floor((m+1)*f); OR Using a previously generated Fibonacci word = A005614 : a(n)=2*A005614(2n-1)+A005614(2n)

CROSSREFS

Cf. A005614.

Sequence in context: A102383 A070913 A114280 this_sequence A065882 A007884 A157813

Adjacent sequences: A123561 A123562 A123563 this_sequence A123565 A123566 A123567

KEYWORD

easy,nonn

AUTHOR

Alexandre E. Losev (alosev(AT)svr.igic.bas.bg), Nov 12 2006

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 December 17 13:29 EST 2009. Contains 170826 sequences.


AT&T Labs Research