|
|
A307508
|
|
Primes p for which the continued fraction expansion of sqrt(p) does not have a 1 in the second position.
|
|
2
|
|
|
2, 5, 11, 17, 19, 29, 37, 41, 53, 67, 71, 83, 89, 101, 103, 107, 109, 127, 131, 149, 151, 173, 179, 181, 197, 199, 227, 229, 233, 239, 257, 263, 269, 271, 293, 331, 337, 367, 373, 379, 401, 409, 419, 443, 449, 457, 461, 487, 491, 499, 503, 541, 547, 577, 587, 593, 599
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
These are the primes that are located between a square number and its following oblong number. - Charles Kusniec, Apr 17 2020
|
|
LINKS
|
|
|
EXAMPLE
|
For p = 2, we have [1; 2, ...]; see A040000.
For p = 5, we have [2; 4, ...]; see A040002.
For p = 11, we have [3; 3, ...]; see A040007.
|
|
PROG
|
(PARI) isok(p) = isprime(p) && contfrac(sqrt(p))[2] != 1;
|
|
CROSSREFS
|
Complement of A334163 with respect to the primes.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|