OFFSET
1,1
COMMENTS
Primes p such that A214027(p) = 2.
For p > 2, p is in this sequence if and only if 8 divides A175181(p), and if and only if 4 divides A214028(p). For a proof of the equivalence between A214027(p) = 2 and 4 dividing A214028(p), see Section 2 of my link below.
This sequence contains all primes congruent to 3 modulo 8. This corresponds to case (2) for k = 6 in the Conclusion of Section 1 of my link below.
Conjecturely, since (k+2)/2 = 4 is a square, this sequence has density 5/12 in the primes; see the end of Section 1 of my link. [Comment rewritten by Jianing Song, Jun 16 2024 and Jun 25 2024]
The conjecture above is an analog of Hasse's result that the set {p prime : ord(2,p) is odd} has density 7/24 in the primes, where ord(a,m) is the multiplicative order of a modulo m; see A014663. - Jianing Song, Jun 26 2025
LINKS
Jianing Song, Table of n, a(n) for n = 1..1600
Jianing Song, Entry points and periods of Lucas sequences
PROG
(PARI) forprime(p=2, 700, if(A214027(p)==2, print1(p, ", ")))
CROSSREFS
For a list of sequences related to the numbers of zeros in a fundamental period of {x(n)}, where {x(n)} is a sequence defined by x(0) = 0, x(1) = 1, x(n+2) = m*x(n+1) + x(n), see A053032.
KEYWORD
nonn
AUTHOR
Jianing Song, Aug 10 2019
STATUS
approved
