login
6^n mod 10000.
1

%I #10 Nov 06 2012 09:08:27

%S 6,36,216,1296,7776,6656,9936,9616,7696,6176,7056,2336,4016,4096,4576,

%T 7456,4736,8416,496,2976,7856,7136,2816,6896,1376,8256,9536,7216,3296,

%U 9776,8656,1936,1616,9696,8176,9056,4336,6016,6096,6576,9456,6736,416,2496,4976,9856,9136,4816,8896,3376

%N 6^n mod 10000.

%C Period = 125.

%H V. Raman, <a href="/A216128/b216128.txt">Table of n, a(n) for n = 1..130</a>

%t PowerMod[6,Range[50],10000] (* _Harvey P. Dale_, Nov 06 2012 *)

%o (PARI) for(i=1, 250, print(6^i%10000" "))

%Y Cf. A001311.

%K nonn,easy

%O 1,1

%A _V. Raman_, Sep 01 2012