Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A084242
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A084242 Least k, 1<= k <=n, such that the number of elements of the continued fraction for n/k is maximum. +0
6
1, 1, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 9, 11, 9, 10, 11, 11, 11, 13, 13, 14, 13, 14, 15, 17, 17, 18, 19, 18, 23, 19, 21, 22, 22, 23, 22, 25, 29, 23, 26, 25, 27, 26, 27, 29, 31, 30, 29, 28, 33, 33, 31, 34, 41, 32, 36, 33, 37, 33, 35, 37, 39, 47, 37, 41, 42, 40, 41, 41, 53, 45, 43 (list; graph; listen)
OFFSET

1,3

FORMULA

k>1, a(F(k))=F(k-1) where F(k) denotes the k-th Fibonacci number; probably, limit n ->oo 1/n*sum(k=1, n, a(k)) = 1/phi where phi is the Golden ratio (1+sqrt(5))/2

PROGRAM

(PARI) a(n)=if(n<0, 0, s=1; while(abs(vecmax(vector(n, i, length(contfrac(n/i))))-length(contfrac(n/s)))>0, s++); s)

CROSSREFS

Cf. A071677.

Sequence in context: A120835 A091374 A065603 this_sequence A156261 A071823 A139338

Adjacent sequences: A084239 A084240 A084241 this_sequence A084243 A084244 A084245

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 21 2003

page 1

Search completed in 0.003 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 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research