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!)
A139735 a(n) = 10^n mod 4^n. 1
0, 2, 4, 40, 16, 672, 576, 5760, 57600, 182784, 779264, 3598336, 10817536, 41066496, 8011776, 616988672, 1874919424, 1569325056, 15693250560, 19493552128, 194935521280, 1949355212800, 10697459105792, 36605846880256, 225320980447232, 1409990787072 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
Table[PowerMod[10, n, 4^n], {n, 0, 30}] (* Vincenzo Librandi, Jun 12 2016 *)
PROG
(Magma) [Modexp(10, n, 4^n): n in [0..30]]; // Vincenzo Librandi, Jun 11 2016
(PARI) a(n)=10^n%4^n \\ Charles R Greathouse IV, Jun 04 2011
(PARI) a(n)=if(n, lift(Mod(5, 2^n)^n)<<n, 0) \\ Charles R Greathouse IV, Jun 04 2011
CROSSREFS
Sequence in context: A018992 A098625 A057777 * A184952 A098337 A326483
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved

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 August 8 07:31 EDT 2024. Contains 375020 sequences. (Running on oeis4.)