Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A086397
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A086397 Numerators of the rational convergents to sqrt(2) if both numerators and denominators are primes. +0
1
3, 7, 41, 63018038201 (list; graph; listen)
OFFSET

1,1

COMMENT

These numbers are rare.

PROGRAM

(PARI) cfracnum(m, f) = { cfr = vector(10000); 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(isprime(numer) & isprime(denom), print1(numer", ")); ) }

CROSSREFS

Sequence in context: A018971 A006383 A080581 this_sequence A101412 A019018 A018993

Adjacent sequences: A086394 A086395 A086396 this_sequence A086398 A086399 A086400

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Sep 06 2003

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 21 14:49 EST 2008. Contains 150807 sequences.


AT&T Labs Research