Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101414
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101414 Defiant primes of order 3. Primes p such that no prime numerator and denominator of the continued fraction rational approximation of the sqrt(p) exist for numerators less than 10^3 digits in length. +0
1
5, 17, 23, 37, 47, 53, 61, 79, 83, 97, 101 (list; graph; listen)
OFFSET

1,1

COMMENT

Defiant primes of order k are also of order r where 0 < r < k.

EXAMPLE

The 8-th convergent of sqrt(5) is c = 51841/23184. c^2 = 5.00000000186..

but both numerator and denomonator are not prime.

PROGRAM

(PARI) cfracnumdenomprime(m, f) = { default(realprecision, 3000); cf = vector(m+10); x=f; for(n=0, m, i=floor(x); x=1/(x-i); cf[n+1] = i; ); for(m1=0, m, r=cf[m1+1]; forstep(n=m1, 1, -1, r = 1/r; r+=cf[n]; ); numer=numerator(r); denom=denominator(r); if(ispseudoprime(numer)&&ispseudoprime(denom), print1(numer", "); numer2=numer; denom2=denom); if(length(Str(numer))>999, break); ) }

CROSSREFS

Sequence in context: A067377 A153504 A044438 this_sequence A105884 A019410 A133423

Adjacent sequences: A101411 A101412 A101413 this_sequence A101415 A101416 A101417

KEYWORD

frac,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jan 16 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 November 27 14:50 EST 2009. Contains 167570 sequences.


AT&T Labs Research