login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Vincenzo Librandi, Table of n, a(n) for n = 0..300

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

Adjacent sequences:  A139732 A139733 A139734 * A139736 A139737 A139738

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 23 15:23 EDT 2021. Contains 347618 sequences. (Running on oeis4.)