A complete tripartite graph is like a fully connected 3 layered network constrained such that no connections exists in the nodes of same layer. Take $n=1$ as an example and $1,2,3$ as number of nodes in consecutive layers. $1$ is connected to all nodes in layer $2$ and layer $3$ and this goes same to all layers. So a total of $11n^2$ edges exist in a $K_{n,2n,3n}$.
Use Ore's or Dirac theorem for proving whether a graph can be Hamiltonian or not. By Ore's theorem, sum of the degrees of any two non-adjacent vertices should be $>=n$ ($n$ is the number of vertices). By this theorem, in $K_{n,2n,3n}$, take any two nodes in the same layer. It has at least 6n degrees. So $K_{n,2n,3n}$ is Hamiltonian.
But in a $K_{n,2n,3n+1}$ graph, take two nodes from $3n+1$ layer and you got $6n$ degrees as sum which is less than total number of vertices $6n+1$.
Thanks @Joffan for correcting.
Hope this helps.