[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A139736
a(n) = 10^n mod 6^n.
1
0, 4, 28, 136, 928, 6688, 20224, 202240, 902656, 2308096, 23080960, 230809600, 856907776, 8569077760, 7326613504, 386722791424, 1986487975936, 14222659944448, 40666642776064, 406666427760640, 410505837543424, 4105058375434240, 41050583754342400, 410505837543424000
OFFSET
0,2
LINKS
MATHEMATICA
Table[PowerMod[10, n, 6^n], {n, 0, 30}] (* Harvey P. Dale, Oct 30 2013 *)
PROG
(Magma) [10^n mod 6^n: n in [0..35]]; // Vincenzo Librandi, Jun 04 2011
(PARI) a(n)=10^n%6^n \\ Charles R Greathouse IV, Jun 04 2011
(PARI) a(n)=lift(chinese(Mod(0, 2^n), Mod(10, 3^n)^n)) \\ Charles R Greathouse IV, Jun 04 2011
CROSSREFS
Sequence in context: A377885 A270892 A271603 * A259987 A241778 A128941
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved