# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a064546 Showing 1-1 of 1 %I A064546 #9 Jun 20 2018 01:31:27 %S A064546 0,0,9,64,1900,5184,695310,15089664,346348629,8189440000,170553548176, %T A064546 4519967588352,202522159449675,8500218417954816,265594041953296875, %U A064546 3543051899458551808,454740628232312103872,5853583711033675481088 %N A064546 Remainder when (n!)^2 is divided by n^n. %H A064546 Harry J. Smith, Table of n, a(n) for n = 1..100 %F A064546 a(n) = (n!)^2 mod n^n. %e A064546 a(5) = 1900 because (5!)^2 = 14400 = 1900 (mod 5^5 = 3125). %o A064546 (PARI) { for (n=1, 100, write("b064546.txt", n, " ", (n!)^2 % n^n) ) } \\ _Harry J. Smith_, Sep 18 2009 %Y A064546 Cf. A063709. %K A064546 easy,nonn %O A064546 1,3 %A A064546 _Floor van Lamoen_, Oct 09 2001 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE