I am still being taught maths at school, so all these fancy symbols like $\sum$ I have no idea about (although writing it out through mathjax, I think it possibly means the "sum" of something) but I believe to have made three potential discoveries of always finding a prime number:
$1. \qquad (2n + 1)^2 - 2 = p$
$2. \qquad n^3 - (n - 1)^3 = p$
$3. \qquad \text{The first number after $(2n)^2$ to have the number $7$ as its last digit is always prime.}$
I do not know if these are facts, but I do not know how to prove if any of these are true or false.
My Attempt:
$$(a + b)^2 = (a + b)(a + b) = a^2 + ab + ba + b^2 = a^2 + b^2 + 2ab \tag1$$ $$\implies (2n + 1)^2 = (2n)^2 + 1^2 + 2\times 2n\times 1 = 4n^2 + 4n + 1$$ $$\implies (2n + 1)^2 - 2 = 4n^2 + 4n + 1 - 2 = 4n^2 + 4n - 1= p$$ $$\implies 4n^2 + 4n - 1 - p = 4n^2 + 4n - (1 + p) = 0$$ $$\therefore n = \frac{-4 \pm \sqrt{16 - 16(1 + p)}}{8}$$ This is where I get stuck because any prime number must be greater than $1$ which implies that we will be square rooting a negative number in the numerator of the above fraction. Doing a little bit of research, the square root of a negative number is not "real" so how can there be real solutions for $n$ such that $(2n + 1)^2 - 2 = p?$ For example, $(2\times3 + 1)^2 - 2 = 47$ which is a prime number. I cannot see if I am doing something wrong here. Is this a contradiction of some sort?
$$(a - b)^3 = (a - b)(a - b)(a - b) = \cdots = a^3 - 3a^2b + 3ab^2 - b^3\tag2$$ $$\implies (n - 1)^3 = n^3 - 3\times n^2\times1 + 3\times n\times1^2 - 1^3 = n^3 - 3n^2 + 3n - 1$$ $$\implies n^3 - (n^3 - 3n^2 + 3n - 1) = n^3 - n^3 + 3n^2 - 3n + 1 = 3n^2 - 3n + 1 = p$$ $$\implies 3n^2 - 3n + (1 - p) = 0$$ $$\therefore n = \frac{3 \pm \sqrt {9 - 12(1 - p)}}{6}$$
Since $(1 - p) < 0$ then this implies that $12(1 - p) < 0$ and so we will be square rooting a positive number in the numerator of the above fraction because: $$\forall (x, y) \in \mathbb{Z}, \ x - (-y) = x + y > 0 : x = 9\land 12\mid y$$ But I am unsure that I completed this problem correctly because I used the same steps of working out compared to $(1)$, however I cannot find a problem here. For example: $$(\pm 3)^3 - 2^3 = 19 \qquad \text{ and } \qquad \pm 3 = \frac{3 \pm \sqrt {9 - 12(1 - 19)}}{6}$$
But as for $(3)$, I do not know where to begin. Could somebody please help me and show me step by step how to prove any one of these statements true or false? You do not have to prove all three statements true or false, but if you wish to do so, it would be much appreciated. I tried solving for $n$ via the quadratic formula, and completing the square just gave me a simplified fraction for $n$ and nothing more. If you are willing to use other mathematical techniques of solving for $n$, please be clear and try not to skip too many steps in the process. Thank you in advance.
Edit: Can I just say, this was my first question on the MSE and it said "be clear" and "be specific" and things like that, so I tried to make this question as understandable as possible, and for my first question, I got +10 which is AMAZING! Thank you so much all of you people for helping me with this. Your answers and explanations were very clear and helped me have a further understanding of these problems, and now I can use other methods of solving problems like these (or perhaps simply trial and error). I absolutely love this community even if some math questions are WAY beyond my years! Once again, thank you so much! :)