login
This site is supported by donations to The OEIS Foundation.

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A082408 Least k such that the continued fraction for n/k contains no element >2. 0
2, 2, 2, 3, 5, 3, 6, 4, 8, 5, 5, 7, 6, 6, 12, 9, 7, 8, 8, 11, 46, 9, 10, 10, 18, 14, 12, 11, 12, 12, 22, 13, 14, 15, 74, 14, 15, 15, 29, 16, 31, 22, 18, 17, 34, 18, 18, 19, 34, 20, 106, 27, 21, 21, 21, 24, 118, 22, 122, 24, 24, 24, 25, 33, 49, 26, 46, 28, 26, 27, 27, 31, 29, 28, 55, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n)>n iff n is in A055114. Note that there are very few composites in A055114 : 529,851...are the first.

LINKS

Table of n, a(n) for n=1..76.

PROG

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

CROSSREFS

Cf. A055114.

Sequence in context: A235998 A133850 A160902 * A182534 A165918 A114639

Adjacent sequences:  A082405 A082406 A082407 * A082409 A082410 A082411

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Apr 23 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified September 17 19:47 EDT 2014. Contains 246869 sequences.