login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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