Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101411
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101411 Denominator when the numerator of the continued fraction rational approximation of sqrt(2) is prime. Also the denominators of A086395(n). +0
3
2, 5, 12, 29, 169, 408, 470832, 6625109, 44560482149, 345869461223138161, 13558774610046711780701, 87275373599917999482560755526644279276078854297832438763690789 (list; graph; listen)
OFFSET

1,1

PROGRAM

(PARI) cfracnum(m, f) = { local(x, r, cfr, i, m1); default(realprecision, 3000); numer2=0; denom2=0; cfr = vector(m+100); x=f; for(n=0, m, i=floor(x); x=1/(x-i); cfr[n+1] = i; ); for(m1=0, m, r=cfr[m1+1]; forstep(n=m1, 1, -1, r = 1/r; r+=cfr[n]; ); numer=numerator(r); denom=denominator(r); if(ispseudoprime(numer), print1(denom", ")); ); default(realprecision, 28);

CROSSREFS

Cf. A086395.

Sequence in context: A036671 A152171 A132807 this_sequence A042789 A101911 A052109

Adjacent sequences: A101408 A101409 A101410 this_sequence A101412 A101413 A101414

KEYWORD

frac,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jan 15 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 December 20 16:13 EST 2009. Contains 171081 sequences.


AT&T Labs Research