Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A110919
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A110919 Number of consecutive 1's in the continued fraction for floor(n*Phi)/n where Phi=(1+sqrt(5))/2. +0
1
1, 1, 1, 1, 3, 1, 3, 1, 3, 3, 3, 3, 5, 3, 3, 3, 3, 5, 3, 3, 3, 3, 5, 3, 3, 5, 3, 5, 3, 3, 5, 3, 5, 7, 3, 5, 3, 5, 5, 3, 5, 3, 5, 5, 3, 5, 7, 5, 5, 3, 5, 5, 5, 5, 3, 5, 5, 5, 5, 7, 5, 5, 5, 5, 5, 5, 5, 7, 5, 5, 5, 5, 7, 5, 5, 5, 5, 5, 5, 5, 7, 5, 5, 5, 5, 7, 5, 5, 9, 5, 5, 5, 5, 7, 5, 5, 5, 5, 7, 5, 5, 7, 5, 5, 5 (list; graph; listen)
OFFSET

1,5

COMMENT

Terms are always odd.

FORMULA

sum(k=1, n, a(k)) seems to be asymptotic to c*n*log(n) with c around 1

EXAMPLE

The continued fraction for floor(128*Phi)/128 is [1, 1, 1, 1, 1, 1, 1, 2, 1, 2] with 7 consecutive 1's, thus a(128)=7

PROGRAM

(PARI) a(n)=if(n<2, 1, s=1; while(component(contfrac(floor(n*(1+sqrt(5))/2)/n), s)==1, s++); s-1)

CROSSREFS

Adjacent sequences: A110916 A110917 A110918 this_sequence A110920 A110921 A110922

Sequence in context: A087822 A025810 A001319 this_sequence A109599 A066839 A046933

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Sep 22 2005

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 October 6 16:13 EDT 2008. Contains 144667 sequences.


AT&T Labs Research