login
A086386
Numerators of the rational convergents to sqrt(3) if both numerators and denominators are primes.
5
5, 19, 71, 3691, 191861, 26947261171
OFFSET
1,1
COMMENTS
These numbers are rare.
PROG
(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
Cf. A001834.
Sequence in context: A149761 A149762 A299107 * A343799 A289925 A047155
KEYWORD
nonn,frac,more
AUTHOR
Cino Hilliard, Sep 06 2003
STATUS
approved