document.write( "Question 507684: Conjecture: Find all positive integers 'a' such that there exists an integer 'm' with the property that a|(m^2+1) and a|((m+1)^2 +1).\r
\n" ); document.write( "\n" ); document.write( "Hint: First show that 'a' must also divide 2m+1. \r
\n" ); document.write( "\n" ); document.write( "I know that when m divides n it can be defined as n=(m)(q). So in this case it would be (m^2+1)=(a)(q), and so forth with the other problems. I'm not sure if this is correct but since (m^2+1)=(a)(q) and ((m+1)^2 +1)=(a)(q) so I set
\n" ); document.write( "(m^2+1)=((m+1)^2 +1). I then foiled, moved everything to one side and simplified and got 2m+1 with is relevant to the hint, I think. I don't know if I'm going in the right direction but I've seem to have hit a wall. Also, I don't really know how to show that a|2m+1. Please help. Thanks.
\n" ); document.write( "

Algebra.Com's Answer #340711 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
You somehow set m^2 + 1 and (m+1)^2 + 1 equal to each other, which cannot be true.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We can definitely say that a|(2m+1), but this is a weaker statement. Fortunately we can conclude that a is odd. In addition, we can state that a|(m^2 - 2m), by using a modular arithmetic argument:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So this means that a divides 2m+1 and a divides m(m-2). This is actually quite useful, because not many values of a satisfy. We can say that\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since 2m+1 and 12m+1 are congruent mod a, it follows that their difference (10m) is congruent to 0 mod a. This means either a divides m, or a = 5 (remember a cannot equal 2). a = 5 definitely works (try m = 2, 12, ...). If a divides m, then the only value of a is 1 (since a divides 2m+1). Thus a = 1 and a = 5 are the only solutions. \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );