an≡c (mod n)
(F10 Residues of powers of two)

(July 22, 2009)

Graham asked about the residue of 2n mod n.
Lehmer found the smallest solution for 2n≡3 (mod n),
n=4700063497

I tried to find all the solutions of an≡c (mod n) where
a : prime under 100, 1 ≤ c ≤ 100, n ≤ 109.

The program is very simple so I just show the results of computation.

The solutions for a=3, c=14, 34, 56 and a=7, c=36 are listed in
The On-Line Encyclopedia of Integer Sequences.

ac : no solution under 1010
269
314, 34, 56, 74
558
736, 66, 86
1152, 94
1336, 54, 59, 80, 92
1716, 30, 64, 100
1962, 78, 86
2342, 64, 84
2918
3124, 54, 98
37 
4142
43 
4736, 46, 64, 90
5354, 64, 84, 96
5936, 42
6132, 78
6750
7188
7378
79 
8354
8982
9750


  back (in Japanese)  
  back (in English)  

E-mail : kc2h-msm@asahi-net.or.jp
Hisanori Mishima