Possible solutions of this problem
How to prove that the number $1!+2!+3!+...+n!$ is never square?
Shortest code to calculate list min/max in .NET I'd like something like  int minIndex = list.FindMin(delegate (MyClass a, MyClass b) {returns a.CompareTo(b);});   Is there a builtin way to do this in .NET? How to make a font with Adobe Illustrator? I have recently created my own font/typeface with Adobe Illustrator, and I would like to use it as a real font (e.g I would like to use it as I type something).   Is this possible in Adobe Illustrator or would I need a different software?   If so what program would be good for creating a font? Problem with glossary I am copying the very first piece of code from  in order to create a glossary. While I get no problem in the compilation I do not get the "glossary part" that appears in the example. I literally copy paste.  Also, I want to create a document that only consists of a glossary of various terms. That is to put everything in alphabetical order (with the possibility to include references as well). How could I possibly do this? I tried some itemize options with alphabetical order but does not look that good. Installing a 16-bit Windows 95 game on 64-bit Windows 7 Home Premium Add AD users to sudo group not working | CentOS 6.7 What will be the one's digit of the remainder in: $\left|5555^{2222} + 2222^{5555}\right|\div 7=?$ What will be the ones digit of the remainder in: $$\frac{\left|5555^{2222} + 2222^{5555}\right|} {7}$$ Propose a privilege to sit in the 500 reputation mark As , the retag privilege serves a lot more confusion and a lot less of its benefit due to the suggested edit system. It must be done away with. It will be done away with. ♪  In light of this decided course of action, we're going to need a new snack for the road between "Create Tags" at 300 reputation and "Established User" at 1000 reputation. We'd like your help in thinking about some ideas on what would be a nice privilege to sit at this level. Since we're... a bit dry on our end.  The primary guideline in deciding what kind of privilege to put here is acknowledging its position in the overall hierarchy of privileges. 500 reputation is an early-intermediate user, one who has started to really get the hang of the site and its function. It can be something that provides convenience in how they currently can act on the site, or it could be some new functionality that fits as an early ability (especially considering there's no new abilities until 2000 reputation's "Edit Everywhat" ability).  I look forward to hearing what creative ideas y'all can provide. having bracket in front of an item Linear Discriminant Analysis for $p=1$ Connect two computers with SSH in a home LAN I have two ubuntu computer shared the same wifi and desire to reach another from one's terminal.  First create an user on the second computer named "Second" and hostname "Algorithms"    Then tried to reach it from the other with SSH,  but get error report as   $ ssh second@Algorithms   ssh: Could not resolve hostname algorithms: nodename nor servname provided, or not known   The solution I tried is based on   What's the problem with my experiment? Do I need to license fonts included with my OS? Reference to a figure uses the section's number External monitors show blank screen until restart MacBook Pro (15-inch, 2016) with 2 USB-C to HDMI adapters. The setup works great if I start up in that configuration.   If I connect the adapters while the machine is running or simply sleeping, one of the monitors will never get a signal and stay in low power mode. The OS sees the monitor, it shows in the display arrangement settings and I can move the mouse into it, but until I restart, I can't see anything on it.  Once I have restarted I can let the machine sleep or whatever, and the display still works unless I disconnect the adapter. As soon as I do that a restart is required to use it again.   Using MacOS Sierra (10.12.4)  Using this adapter: Mac mini Mac OS 10.6 server migration to new hardware I have a Mac Mini with Mac OS X 10.6 Server installed. It has two external drives attached to it. One is for Time Machine and other contains data. I have bought the latest Mac Mini with Mac OS X 10.7 and two new hard drives. I want to migrate to the new hardware (the new Mac Mini and the new hard disks). Can Migration Assistant do that for me or do I have to transfer the data in the external drive manually? Calculating the total number of surjective functions It is quite easy to calculate the total number of functions from a set $X$ with $m$ elements to a set $Y$ with $n$ elements ($n^{m}$), and also the total number of injective functions ($n^{\underline{m}}$, denoting the falling factorial). But I am thinking about how to calculate the total number of surjective functions $f\colon X \twoheadrightarrow Y $.  The way I thought of doing this is as follows: firstly, since all $n$ elements of the codomain $Y$ need to be mapped to, you choose any $n$ elements from the $m$ elements of the set $X$ to be mapped one-to-one with the $n$ elements of $Y$. This results in $n!$ possible pairings. But the number of ways of choosing $n$ elements from $m$ elements is $\frac{m!}{(m-n)!\,n!}$, so the total number of ways of matching $n$ elements in $X$ to be one-to-one with the $n$ elements of $Y$ is $\frac{m!}{(m-n)!\,n!} \times n! = \frac{m!}{(m-n)!}$.  Now we have 'covered' the codomain $Y$ with $n$ elements from $X$, the remaining unpaired $m-n$ elements from $X$ can be mapped to any of the elements of $Y$, so there are $n^{m-n}$ ways of doing this. Therefore I think that the total number of surjective functions should be $\frac{m!}{(m-n)!} \, n^{m-n}$.  Is this anything like correct or have I made a major mistake here? How to prevent iMessage syncing without access to device I foolishly logged into someone's iPad with my Apple ID. This person is now receiving my full communications on iMessage. I know I can remove my account from that iPad but I don't have access to it. How can I stop the device from getting my iMessages without physical access? Starting scheduled task by detecting connection of USB device I know it has been discussed that it is not possible to start an application from an usb drive upon connection due to limitations of autorun (or autoplay??) in Win 7. But it is possible to create a scheduled task having an event type trigger. Surely there must be an event occurring when the drive -- or any USB device, for that matter -- is connected.    Does anybody have the slightest idea which Event ID should I use? Or at least what type of event? Where can I find the event in event viewer? Number of ways to choose $n$ balls from $3n$ balls, distinguishable/indistinguishable. Usage of 'shall' in questions Let's say I want to arrange a lesson with my coach and I say:  Shall we have a lesson on Monday?  I understand the use of 'shall' in American English is considered to be formal, whereas this is not the case in British English. I would like to understand the different connotations (is it formal? is it a request for confirmation? is it a suggestion?) that the following questions have:  A. Shall we have a lesson on Monday? B. Can we have a lesson on Monday? C. Should we have a lesson on Monday? D. Could we have a lesson on Monday? E. Are we having a lesson on Monday? F. Will we have a lesson on Monday? G. Are we going to have a lesson on Monday? I would like to draw a squiggly line with an arrow somewhere in the middle of it. TikZ has a pathmorphing decoration that draws a squiggly line and a markings decoration to place an arrow tip. So a solution would be to use them together:  \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations,decorations.pathmorphing,decorations.markings} \begin{document}  \begin{tikzpicture}  \draw[          decoration={snake},          decorate,          postaction={decoration={markings,mark=at position 0.6 with {\arrow{>}}},decorate}      ]         (0,0) -- (2,0); \end{tikzpicture}  \end{document}   Unfortunately this does not work and results in  ! Dimension too large. &lt;to be read again&gt;                     \relax  l.11         (0,0) -- (2,0);   I suspect there is an infinite recursion going on somewhere.  Is there a workaround? If not, is there a different simple solution to the problem?  (Note: This is probably related to my previous question )