|
|
A175863
|
|
Numbers k > 1 such that 2^(k-1) == (2*k + 1) (mod k^2).
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The definition implies 2^(k-1) == 1 (mod k), so all terms are either primes or Sarrus numbers (A001567). There are no further prime terms below 10^12, and no further Sarrus terms below 2^64. - Lucas A. Brown, Feb 19 2024
|
|
LINKS
|
|
|
MATHEMATICA
|
Select[Range[3000], PowerMod[2, #-1, #]==1&&PowerMod[2, #-1, #^2]-1==2*#&] (* Harvey P. Dale, Mar 20 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,hard,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|