login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A096146 Prime numerators of the rational convergents to sqrt(3). 0
2, 5, 7, 19, 71, 97, 3691, 191861, 138907099, 708158977, 26947261171 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Next term is too large to include.
This is the prime subsequence of A002531. See also A086386 for numerators where both numerator and denominator are primes. - Ray Chandler, Aug 01 2004
LINKS
MATHEMATICA
Select[Numerator[Convergents[Sqrt[3], 200]], PrimeQ] (* Harvey P. Dale, Nov 08 2022 *)
PROG
(PARI) \Continued fraction rational approximation of numeric constants f. m=steps. cfracnumprime(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), print1(numer, ", ")); ) }
CROSSREFS
Sequence in context: A106872 A071198 A041387 * A041583 A143915 A355597
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jul 24 2004
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 16:13 EDT 2024. Contains 371749 sequences. (Running on oeis4.)