OFFSET
1,1
COMMENTS
It appears that most of the terms of this sequence are primes. The composite terms are 741, 3827, 11395, 13067, 27971, ... (A319043).
The primes in the sequence give A003629 (primes == +-3 (mod 8)), since for primes p we have Pell(p) == (2/p) (mod p) where (2/p) is the Legendre symbol. - Jianing Song, Sep 10 2018
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..9999 (offset adapted by Georg Fischer, Jan 31 2019)
EXAMPLE
k = 3 is in the sequence since Pell(3) = 5 = 3*2 - 1 == -1 (mod 3).
k = 7 is not in the sequence: Pell(7) = 169 = 7*24 + 1 !== -1 (mod 7).
MATHEMATICA
Select[Range[800], Mod[Fibonacci[-#, 2], -#]== -1 &] (* Vincenzo Librandi, Sep 09 2018 after Alonso del Arte; {1} removed by Georg Fischer, Jan 31 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon E. Schoenfield, Sep 08 2018
STATUS
approved