OFFSET
1,1
COMMENTS
LINKS
Daniel Haase, Table of n, a(n) for n = 1..10000
EXAMPLE
MATHEMATICA
Select[Range[600], MultiplicativeOrder[2, 2*# + 1] == # &] (* Amiram Eldar, Jul 28 2023 *)
PROG
(PARI) isok(k) = znorder(Mod(2, 2*k+1)) == k; \\ Michel Marcus, Jul 28 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Daniel Haase, Jul 09 2023
STATUS
approved