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!)
A307530 Primes p for which the continued fraction expansion of sqrt(p) has a single 1 starting at second position. 0
3, 23, 47, 59, 61, 79, 97, 137, 139, 163, 167, 191, 193, 223, 251, 281, 283, 313, 317, 349, 353, 359, 389, 397, 431, 433, 439, 479, 521, 523, 563, 569, 571, 613, 617, 619, 659, 661, 673, 719, 727, 769, 773, 823, 827, 829, 839, 881, 883, 887, 941, 947, 953, 1009 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Misak and Ulas prove that the density of primes with k ones is 1/(Fibonacci(k+3)*Fibonacci(k+1)) = 1/3, here with k=1 (a single 1).
LINKS
Piotr Miska, Maciej Ulas, On consecutive 1's in continued fractions expansions of square roots of prime numbers, arXiv:1904.03404 [math.NT], 2019. See Corollary 4.3. p. 13.
EXAMPLE
For p = 3, we have [1; 1, 2, ...]; see A040001.
For p = 27, we have [4; 1, 3, ...]; see A010127.
For p = 47, we have [6; 1, 5, ...]; see A010137.
PROG
(PARI) isok(p) = my(cf = contfrac(sqrt(p))); (cf[2] == 1) && (cf[3] != 1);
lista(nn) = forprime(p=2, nn, if (isok(p), print1(p, ", ")));
CROSSREFS
Sequence in context: A146142 A105854 A160022 * A187094 A060651 A146592
KEYWORD
nonn
AUTHOR
Michel Marcus, Apr 13 2019
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 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)