login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139730 a(n) = 9^n mod 5^n. 1

%I #11 Sep 08 2022 08:45:33

%S 0,4,6,104,311,2799,191,17344,77971,701739,456276,33403359,202973981,

%T 361922079,815892461,19550063399,145432992466,88193807194,

%U 1556683717871,10195456195214,34538646772551,120112957671709,2034690935451631,1622917881955304,50369047802832111

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

%H Vincenzo Librandi, <a href="/A139730/b139730.txt">Table of n, a(n) for n = 0..1000</a>

%t Table[PowerMod[9,n,5^n],{n,0,30}] (* _Harvey P. Dale_, Jul 17 2021 *)

%o (Magma) [9^n mod 5^n: n in [0..35]]; // _Vincenzo Librandi_, Jun 03 2011

%K nonn

%O 0,2

%A _N. J. A. Sloane_, May 20 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 12:05 EDT 2024. Contains 371711 sequences. (Running on oeis4.)