login
A333269
Positive integers n such that 17^n == 2 (mod n).
3
1, 3, 5, 3585, 4911, 5709, 1688565, 7361691, 16747709
OFFSET
1,2
PROG
(PARI) for(k=1, 1e6, if(Mod(17, k)^k==2, print1(k", ")))
(Python)
A333269_list = [n for n in range(1, 10**6) if n == 1 or pow(17, n, n) == 2] # Chai Wah Wu, Mar 14 2020
CROSSREFS
Cf. Solutions to b^n == 2 (mod n): A015919 (b=2), A276671 (b=3), A130421 (b=4), A124246 (b=5), A277401 (b=7), A116622 (b=13), this sequence (b=17).
Sequence in context: A090807 A364551 A138154 * A319598 A353135 A126334
KEYWORD
nonn,more
AUTHOR
Seiichi Manyama, Mar 14 2020
STATUS
approved