I recently started a Combinatorics class, in which my teacher (grad student) has instructed us to Prove by induction that $$1^2+2^2+\ldots+n^2 = \frac{n(n+1)(2n+1)}{6} = \frac{2n^3+3n^2+n}{6}$$ this is trivial in the fact that it has been solved many times before, however my professor has insisted I solve it by using $P(n-1)$ as opposed to $P(n+1)$, which I've done below.
Basis
$$\frac{1(1+1)(2*1+1)}{6} = 1$$
Inductive Step $(n-1)$
$$1^2+2^2+\ldots + (n-1)^2 = \frac{(n-1)(n)(2(n-1)+1)}{6}$$ Which Simplifies to $$\frac{(n-1)(n)(2n-1)}{6} \rightarrow \frac{2n^3-3n^2+n}{6}$$ Add $6\frac{n^2}{6}$ to both sides and we've proven by induction.
My question is do there exists any mathematical proofs for which solving by Induction with $n+1$ and $n-1$ are not interchangeable and should I petition my professor to be able to use them interchangeably. I am aware that solving using $n-1$ and $n+1$ is identical, at least for every scenario I've come across (we're working with positive integers so I'm not expecting any variance from that), however given the overwhelming amount of resources, I can't for the life of me figure out why I am being instructed to use a method opposite what seems to be the norm for any other reason besides my teacher's personal preference.
As Michael Burr noted in the comments, the two conventions are identical; it's just a change of name for the variable. You could equally assume $P(k+12)$ holds and prove $P(k+13)$ from that.
The advantage of using $P(n-1) \implies P(n)$ is that your target formula is already expressed in terms of $n$, so you don't have to rewrite the target in terms of $n+1$ to figure out what you're looking for; the advantage of using $P(n) \implies P(n+1)$ is that the inductive hypothesis is already expressed in terms of $n$.
One other advantage of using $P(n-1) \implies P(n)$ is that it transfers better to "strong induction," where you can assume $P(k)$ for all $k < n$ to prove $P(n)$. Here there is definitely less rewriting going on if you use $P(n)$ as opposed to $P(n+1)$ as your target.
I've seen both used widely. I personally usually prefer $P(n-1) \implies P(n)$.