login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

a(n) = 5^n mod 10000.
0

%I #27 Feb 19 2024 10:25:57

%S 1,5,25,125,625,3125,5625,8125,625,3125,5625,8125,625,3125,5625,8125,

%T 625,3125,5625,8125,625,3125,5625,8125,625,3125,5625,8125,625,3125,

%U 5625,8125,625,3125,5625,8125,625,3125,5625,8125,625,3125,5625,8125,625,3125,5625

%N a(n) = 5^n mod 10000.

%C Period = 4.

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,1).

%F a(n) = 625*A070370(n) for n>=4.

%F G.f.: (-8000*x^7-5600*x^6-3120*x^5-624*x^4-125*x^3-25*x^2-5*x-1)/(x^4-1). - _Bruno Berselli_, Sep 03 2012

%t PowerMod[5, Range[0, 100], 10^4] (* _Paolo Xausa_, Feb 19 2024 *)

%Y Cf. A070370.

%K nonn,easy,less

%O 0,2

%A _V. Raman_, Sep 01 2012