A337818 Odd integers k>=3 such that k*(k-1)/2 divides 2^((k-1)/2)+1.
3, 19, 163, 1459, 370387, 6381667, 30001267, 40417219, 42384547, 42633379, 86093443, 190008019, 268435459, 634471219, 1630068787, 2415919123, 3103616899, 4677743683, 7734924739, 7920392707, 8114552947, 10323768979, 13086951139, 13984274323, 18839387107, 19764019603, 36164859427
Offset: 1
Keywords
Links
- Bill McEachen, Table of n, a(n) for n = 1..32
Programs
-
Mathematica
Select[Range[3, 400000, 2], PowerMod[2, (# - 1)/2, (t = #*(# - 1)/2)] == t - 1 &] (* Amiram Eldar, Sep 23 2020 *)
-
PARI
is(n) = n%2 && n>=3 && Mod(2, n*(n-1)/2)^((n-1)/2) == -1 \\ David A. Corneth, Sep 23 2020
Extensions
a(7)-a(27) from Amiram Eldar, Sep 23 2020
Comments