Edit 2: After thinking through this again, I realized that my argument for the final case, when $\tau$ has both a left and right endpoint, contained an error. I've given a new, simpler argument for that case, using Lindenbaum's version of the Schroeder-Bernstein theorem for linear orders. The argument applies to orders of arbitrary size: it shows that if $\tau$ is any order (not necessarily countable) with both a left and right endpoint, then $\tau^n \cong \tau$ implies $\tau^2 \cong \tau$.
The two-endpoint case seems special: the argument does not seem to apply to uncountable $\tau$ with no endpoints, or with a single endpoint. So those cases remain open.
--
EditUpdate 10/4/16: As Joel pointed out in the comments, in the previous version of my answer, I reversed the usual meaning of $\times$ for linear orders. I've now hopefully corrected all instances of the reversal.
He's also commented that lifting this proof from countable $\tau$ to general $\tau$ may be impossible, so for now this is only a partial answer.
--
For countable $\tau$, I believe the answerThere is no. Joel Hamkins has commented on your Math.SE version of this question that from this we can get a negative answer for general $\tau$ by a forcing argument, giving a complete answer to your question. Joel, if you read this, it'd be great if you could give an explanation of your comment. (Update: see Joel's comments and the edit above such order type.)
Theorem. If. Let $\tau$ is$X$ be a countable linear order, and. If $X^n \cong X$ for some $n$ we have $\tau^n \cong \tau$$n>1$, then $\tau^2 \cong \tau$.
Proof. There are four possibilities: either $\tau$ has no endpoints, $\tau$ has a left endpoint but not a right one, $\tau$ has a right endpoint but not a left one, or $\tau$ has both a left and right endpoint.
Case 1: Assume first that $\tau$ has no endpoints. We'll handle the other cases in turn.
The idea is to use the hypothesis $\tau^n \cong \tau$ to decompose $\tau$ in a certain way, and then use this decomposition to show $\tau^2 \cong \tau$. Forgetting $\tau$ for a moment, let's describe the form of the decomposition we are aiming for. Let $\eta$ denote the set of rationals. Partition $\eta$ into countably many disjoint dense sets, that is, find subsets $\eta_i \subseteq \eta$ such that each $\eta_i$ is dense, $\eta = \bigcup_{i \in \mathbb{N}} \eta_i$, and for $i \neq j$ we have $\eta_i \cap \eta_j = \emptyset$. I'll refer to the elements of $\eta_i$ as $i$-points. We think of $i$-points as being colored by the color $i$$X^2 \cong X$.
NowMy previous answer, suppose for each $i \in \mathbb{N}$ we are given somewhich dealt with the countable linear order $L_i$. We may form a new order $L$ by replacing, for each $i \in \mathbb{N}$case, each $i$-pointcan be found in $\eta$ with a copy of $L_i$. Somewhat informally, I'll write \begin{equation} L = \bigcup_{i \in \mathbb{N}} L_i \times \eta_i. \end{equation} Notice that the three examples you gave of infinite orders satisfying $\tau^2 \cong \tau$ are all of the form of $L$. To get $\eta$ for example, let $L_i = 1$ for every $i$. The orders $\omega \times \eta$ and $\omega^2 \times \eta$ are respectively obtained by letting $L_i = \omega$ for every $i$, and $L_i = \omega^2$ for every $i$. A more complicated order of this form is obtained by letting $L_0 = \omega$, and $L_i = \omega^2$ for $i > 0$. One may think of this order as $\omega \times \eta$ interspersed with $\omega^2 \times \eta$edit history.
Lemma. For $L$ of this formthe proof, we always havesee $L^2 \cong L$my paper. Indeed, if $\beta$ isThere's an overview of the first part of the proof in any countable orderthese slides. In both the paper and the slides, we have $L \times \beta \cong L$I use the lexicographical ordering on the product of two orders.
Proof. One may think of $L \times \beta$ as being formed in two steps. First, replace each point in $\beta$ with copy of $\eta$ to form $\eta \times \beta$. Since each copy of $\eta$ is partitioned into $i$-points, we may think of $\eta \times \beta$ as also being partitioned into $i$-points. Then for each $i$ Very roughly, the collection of $i$-points is dense inargument goes by showing that if $\eta \times \beta$. Now, since$X^n \cong X$ for some $\beta$ is countable$n>2$, $\eta \times \beta$then it is isomorphicpossible to $\eta$. Moreover, there isconstruct an isomorphism between $\eta \times \beta$$X^2$ and $\eta$ that sends $i$-points to $i$-points. (I am using here a stronger form of Cantor's theorem that all countable dense orders without endpoints are isomorphic to $\eta$. Namely, if $X$ and $Y$ both have order type $\eta$, and each is decomposed into countably many disjoint dense sets,by stitching together certain Schroeder-Bernstein style maps. It's also shown in the paper that for every $X = \bigcup_i X_i$,$n > 1$ and cardinal $Y = \bigcup_i Y_i$$\kappa$, then there is an isomorphism ofexists a linear order $X$ and $Y$ that sends $X_i$ onto $Y_i$ for every $i$.) Now, $L \times \beta$ is formed by replacing every $i$-point in $\eta \times \beta$ with a copy of $L_i$. Since $L$ is formed by replacing every $i$-point in $\eta$ with a copy of $L_i$, and there is an isomorphism between $\eta$ andsize $\eta \times \beta$$\kappa$ such that respects our coloring, we must have $L \times \beta \cong L$. This proves the lemma$X^n \cong X$. Notice that the same argument works if some (or even all but finitely many) of the $L_i$There are empty.
Our goal, then, is to show that $\tau^n \cong \tau$ implies that $\tau$ may be decomposed into the form of $L$; that is, $\tau = \bigcup_i L_i \times \eta_i$ for some collection of countable order types $L_i$. Then by the claim we will have $\tau^2 \cong \tau$. Let us write our hypothesis as $\tau \cong \tau \times \beta$, where $\beta = \tau^{n-1}$. For us, the form of $\beta$ is irrelevant except that it is countable and, like $\tau$, has neither a left nor right endpoint.
The fact that $\tau \cong \tau \times \beta$, means that $\tau$ may be split up into $\beta$-many intervals, each of order type $\tau$. Each of these $\beta$-many copies of $\tau$ may in turn be split into $\beta$-many copies of $\tau$, and so on. This is as much to say that to every finite sequence $s = \langle x_1, x_2, \ldots, x_n \rangle$ of elements of $\beta$, we may associate an interval $I_s$ that is isomorphic to $\tau$. Namely, $I_s$ is the $x_n$-th copy of $\tau$ within the $x_{n-1}$-th copy of $\tau$ $\ldots$ within the $x_1$-st copy of $\tau$. Since every $I_s$ is of order type $\tau$, we also have some $f_s: \tau \rightarrow I_s$ witnessing the isomorphism.
In iteratively splitting $\tau$ into smaller and smaller copies of itself, we may choose the $I_s$ and $f_s$ inactually many such a way that the maps $f_s$ respect concatenation, that is, so that if $s^{\frown}t$ is the sequence obtained by concatenating the sequences $s$ and $t$, then $f_{s^{\frown}t} = f_{s} \circ f_{t}$ (where, on the right, $f_s$ really means $f_s \upharpoonright I_t$). Here's how to do this. At the first stage, for every $x \in \beta$ we have an interval $I_{\langle x \rangle}$ of order type $\tau$ and an isomorphism $f_{\langle x \rangle}: \tau \rightarrow I_{\langle x \rangle}$. We define $I_s$ and $f_s$ for all longer $s$ in terms of these first-level $f_{\langle x \rangle}$ and $I_{\langle x \rangle}$. At the second stage, for every $y \in \beta$, let $I_{\langle x, y \rangle}$ be the image of $I_{\langle y \rangle}$ under $f_{\langle x \rangle}$. Then we simply define $f_{\langle x, y \rangle}$ to be$ f_{\langle x \rangle} \circ f_{\langle y \rangle}$, which by our choice of $I_{\langle x, y \rangle}$ is an isomorphism $\tau$ onto $I_{\langle x, y \rangle}$. For every $z \in \beta$, let $I_{\langle x, y, z \rangle} = f_{\langle z \rangle}[I_{\langle x, y \rangle}]$, and and $f_{\langle x, y, z \rangle} = f_{\langle x \rangle} \circ f_{\langle y \rangle} \circ f_{\langle z \rangle}$. And so on for longer sequences. The $f_s$ so defined clearly respect concatenation. Note that if $s$ extends $t$orders, then $I_s$ is a proper subinterval of $I_t$with diverse structural properties.
It may be helpful to illustrate this construction with an example. If, say, $X = [0, 1)$, then $X \cong X \times 2$, as witnessed by splitting up $X$ as $[0, \frac{1}{2}) \cup [\frac{1}{2}, 1)$The result surprised me. Here, $2=\{0, 1\}$ is playingIn the rolemajority of $\beta$, and we have $I_0 = [0, \frac{1}{2})$, and $I_1=[\frac{1}{2}, 1)$. Let $f_0(x) = \frac{1}{2}x$ be our isomorphism from $X$ onto $I_0$ and $f_1(x) = \frac{1}{2}x + \frac{1}{2}$ be our isomorphism from $X$ onto $I_1$. Then, for example, $I_{01} = f_0[I_1] = [\frac{1}{4}, \frac{1}{2})$ and $f_{01} = f_0 \circ f_1 = \frac{1}{2}(\frac{1}{2} x + \frac{1}{2}) = \frac{1}{4}x + \frac{1}{4}$cases when one is our isomorphism fromable to find an infinite structure $X$ onto $I_{01}$(e. By taking longer compositions of $f_0$ and $f_1$, we obtain $I_s$ and $f_s$ for every $s \in 2^{<\omega}$g.
Now group, back in our settingtopological space, having associated to every finite sequence $s \in \beta^{<\omega}$ an interval $I_s$graph, we may associateBoolean algebra) that is isomorphic to every infinite sequence $r \in \beta^{\omega}$ the interval $I_r = \bigcap_{n} I_{r \upharpoonright n}$ obtained by taking the natural nested intersection. The collection of $I_r$ for $r \in \beta^{\omega}$its cube, it is possible to find such a covering ofstructure such that $\tau$ by nonintersecting intervals$X \not\cong X^2$. Let us view $\beta^{\omega}$ also as a linear order, underIn the lexicographical ordering of sequences. Then our construction guarantees that $I_r$ liesrare cases when it is possible to the left of $I_{r'}$ in $\tau$ if and only if $r <_{lex} r'$ in $\beta^{\omega}$. Indeed,prove $\tau$$X^3 \cong X \implies X^2 \cong X$ it is recovered from $\beta^{\omega}$ by replacing every $r \in \beta^{\omega}$ byusually possible to prove the corresponding intervalsignificantly stronger implication $I_r$. Note, however$A\times B\times X \cong X \implies B \times X \cong X$, thatwhich is false for a fixed $r$, it may be that $I_r$ contains many points, a single point, or no points at alllinear orders. In fact, since $\tau$ itself it is countable,even possible to construct orders $I_r$ will be empty for all$A, X$ such that $A^2 \times X \cong X$ but countably many $r$$A \times X \not \cong X$. (The corresponding right-sided implication $X \times B \times A \cong X \implies X \times B \cong X$ is also false.)
The relevant observation is that, if we view the interval $I_r$ as a linear order, then for densely many $s \in \beta^{\omega}$ we have $I_r \cong I_s$. To see this, let us introduce an equivalence relation on the space $\beta^{\omega}$: say that $r \sim s$ iff $r$ and $s$ share a tail-sequence (not necessarily beginning at the same coordinate). That is: \begin{equation} r \sim s \leftrightarrow \textrm{there exists $m, n$ such that for every $i$ we have $r(m+i) = s(n+i)$}, \end{equation} where $r(k)$ means the $k$th entry in the sequence $r$, etc. This is clearly an equivalence relation. Notice that since $\beta$ is countable, every $\sim$-equivalence class is countable.
Claim. If $r \sim s$, then $I_r \cong I_s$ Let me say what I know about the history and status of Sierpinski's other questions that bof quoted in their answer.
Proof. If $r \sim s$, then there are finite sequence $r', s' \in \beta^{<\omega}$ and an infinite sequence $x \in \beta^{\omega}$ such that $r = r'^{\frown}x$ and $s=s'^{\frown}x$. The intuitive reason that $I_r \cong I_s$ is that, in order to construct these intervals, we first move to $I_{r'}$ and $I_{s'}$, which are both just copies of $\tau$. Then, in each interval, we travel down the precisely corresponding nested sequence "We do not know so far any example of intervals (represented by $x$) to obtain $I_r$ and $I_s$, which must therefore be isomorphic. More formally, we see that by the way we definedtwo types $f_{r'}$$\varphi$ and $f_{s'}$$\psi$, we have $f_{s'} \circ f_{r'}^{-1}$ maps $I_r$ isomorphically ontosuch that $I_s$, establishing the claim.
For$\varphi^2 = \psi^2$ but $s \in \beta^{\omega}$$\varphi^3 \neq \psi^3$, let $\bar{s}$ denote its equivalence class. It is easy to see that ifor types $s_1, s_2 \in \bar{s}$$\gamma$ and $s_1 < s_2$ in the lexicographical order, then there are $r, r', r'' \in \bar{s}$ such that $r < s_1 < r' < s_2 < r''$ (we use here that $\beta$ has neither a top nor bottom element). Since $\bar{s}$ is countable, it follows that $\bar{s}$ (viewed as a suborder of $\beta^{\omega}$) has order type $\eta$. In fact, it's similarly easy to see that $\bar{s}$ is not only dense in its order type, but is actually dense in $\beta^{\omega}$.
Now by the claim, for a fixed $\bar{s}$, every $I_r$ with $r \in \bar{s}$ is isomorphic. Since only countably many of the $I_r$ are nonempty, we may enumerate the (distinct) classes $\overline{s_1}, \overline{s_2}, \ldots$, such that if $I_r$ is nonempty, there is $i$$\delta$ such that $r \in \overline{s_i}$ (this list may even be finite). Let $L_i$ be the shared order type of every $I_r$, $r \in \overline{s_i}$.
But now we have our desired decomposition. As already noted, every $\overline{s_i}$ has type $\eta$, and is dense in $\beta^{\omega}$. Thus the subset $S \subseteq \beta^{\omega}$ given by $S = \bigcup_i \overline{s_i}$ also has order type $\eta$. We think of each $\overline{s}_i \subseteq S$ as our collection of $i$-points. But then since the $\overline{s_i}$ range over all nonempty intervals $I_r$, we have that $\tau$ may be formed by replacing each $i$-point in $S$ by a copy of $L_i$. That is, $\tau = \bigcup_i \overline{s_i} \times L_i$. This is a decomposition of the sought after form. By our lemma at the beginning, we have $\tau^2 \cong \tau$, as desired.
This takes care of the case when $\tau$ has neither a left nor right endpoint. The case when $\tau$ has a single endpoint is similar, but with complicating details.
Case 2 (sketch): Suppose now that $\tau$ has a left endpoint, but not a right one. The case where $\tau$ has a right endpoint$\gamma^2 \neq \delta^2$ but not a left one is symmetric.
We seek to adapt the proof of case 1. The preliminary discussion preceding the lemma is modified as follows. Instead of decomposing $\eta$ into countably many copies of itself, we decompose $1+\eta$ (that is, the order type of the rationals with a left endpoint added) as $1 + \eta_0 \, \, \cup \, \, \,\bigcup_{i>0} \eta_i$, where the $\eta_i$ are pairwise disjoint, and each is dense in $\eta$. This is the same as before, except that in our decomposition we have the distinguished set $1+\eta_0$ that includes the left endpoint, i.e. we color the left endpoint as a $0$-point. Suppose as before we are given a collection of countable orders $L_i$, where now we insist $L_0$ has a left endpoint$\gamma^3 = \delta^3$. We may form $L$ by replacing every $i$-point with $L_i$, and write \begin{equation} L = L_0 \times (1 + \eta_0) \, \, \cup \, \, \bigcup_{i>0} L_i \times \eta_i. \tag{$\star$} \end{equation}"
Note that since $L_0$ has a left endpoint,Sierpinski knew of examples of non-isomorphic orders $L$ does as well$X, Y$ whose squares are isomorphic. The claim is again that $L^2 \cong L$, or more generally that if $\beta$ is any countable order also with a left endpoint, then $L \times \beta \cong L$These examples are due to A. The same argument as before goes through,C. Morel and were generalized by Sierpinski. They have the relevant difference beingproperty that whereasnot only is $X^2 \cong Y^2$ but in the previous case we used the fact that $\eta \times \beta \cong \eta$$X^n \cong Y^n$ for any countableall $\beta$, we now use$n>1$. Sierpinski's first question is whether the fact that since $\beta$ has a left endpoint, we have $(1+\eta) \times \beta \cong 1+\eta$ (so that $(1+\eta) \times \beta$ may be colored informer condition actually implies the same way we colored $1+\eta$)latter, or if there exist two orders whose squares are isomorphic but cubes are not.
Then, we seek to use $\tau^n \cong \tau$ to decompose $\tau$ in the form of ($\star$). Again we write $\tau$ as $\tau \times \beta$, whereMorel's examples show that linear orders need not have unique $\beta = \tau^{n-1}$$n$th roots, and note that $\beta$ has a left endpointis, which we label as 0. We again associate to every $s \in \beta^{<\omega}$ an interval $I_s$ and isomorphismthat $f_s$$X^n \cong Y^n \implies X \cong Y$ is false over the class of $I_s$ withlinear orders for any fixed $\tau$$n > 1$. By taking intersections we obtainHowever, the intervalsexamples do not prove the falsity of the implication $I_s$$X^n \cong Y^n \implies X^k \cong Y^k$ for $s \in \beta^{\omega}$$1 < k < n$. Again ifSierpinski's second question is whether there is a counterexample when $s \sim r$, then$n = 3$ and $I_s \cong I_r$$k = 2$. Both of these questions remain open, to my knowledge.
For each $s \in \beta^{\omega}$, the equivalence class $\bar{s}$ will again have the order type of the rationals, except for the equivalence class of the zero sequence $\mathbf{0} = \langle 0, 0, \ldots \rangle$. This class has order type $1 + \eta$, the left endpoint being $\mathbf{0}$ itself. Label this class as $\overline{s_0}$. Let $L_0$ be the shared order type of intervals associated to this class, and note that $L_0$ has a left endpoint. For $L_0$ is the"We do not know whether there exist two different denumerable order type of $I_{\mathbf{0}}$,types which contains theare left endpoint of $\tau$. We may enumerate the other classes corresponding to nonempty intervals as $\overline{s_1}, \overline{s_2}, \ldots$. Letting $L_i$ be the order type-hand divisors of the intervals associated to $\overline{s_i}$, we again see that $\tau$ may be written as $(L_0 \times \overline{s_0}) \cup \bigcup_{i>0} L_i \times \overline{s_i}$. Since $\overline{s_0}$ has type $1+\eta$ and alleach other $\overline{s_i}$ have type $\eta$, this is a decomposition of the desired form ($\star$)."
This completesSierpinski was aware of distinct uncountable orders that are left-hand divisors of each other. It turns out the proofuncountability is necessary. This falls out of case 2some of the work in the paper. As noted,A proof is given in the argument for whenfinal section. $\tau$ has a right endpoint but not a(Sierpinski used the traditional anti-lexicographical ordering on products, so left one-handed divisor for him is symmetricright-handed divisor in the convention of the paper.)
Case 3: Now suppose that $\tau$ has "Neither do we know whether there exist two different order types which are both a left-hand and right endpoint-hand divisors of each other."
Update: I originally gave an analogous argument for this case, but there is a detail that prevents the argument from succeeding. Here is the error. In the first case, when $\tau$ had no endpoints, we used the fact that for an arbitrary countable $\beta$ As already mentioned, we haveSierpinski was aware of distinct orders $\eta \times \beta \cong \eta$. In the second, we noted$X_0, Y_0$ that as long as $\beta$ has aare left endpoint, $(1+\eta) \times \beta \cong 1 + \eta$-hand divisors of one another. For this final case, the analogous claim would be that ifHe also knew of distinct orders $\beta$ has both a left and$X_1, Y_1$ that are right endpoint, then $(1+\eta+1)\times \beta \cong 1+\eta+1$-hand divisors of one another. While thisIt is truenatural to ask if $\beta$ is itself $1+\eta+1$, it is false in general; indeed it is false for anythere are distinct orders $\beta$$X, Y$ that is not dense. In particular, while thedivide each other details ofon both the argument go through, it does not follow that $\tau^2 \cong \tau$,left and I do not see how this argument can be fixedright.
New argument: We can still show that $\tau^2 \cong \tau$ As bof points out in this casetheir answer, but by an entirely different argument. The lemma we will need is Lindenbaum's version of the Schroeder-Bernstein theorem for linear orders. It says: if $X$ and $Y$ are linear orders such that $X$ is isomorphic tothere were an initial segment of $Y$, and $Y$ is isomorphic to a final segment oforder $X$ isomorphic to $X^3$ but not $X^2$, then in factthe pair $X \cong Y$$X, X^2$ would give a positive answer. The proof of the theoremThere is the same as the usual one; the hypotheses guarantee that the bijection constructed betweenno such $X$ and $Y$ is order-preserving.
So suppose that $\tau$ has both a left and right endpoint, and for some $n$, $\tau^n \cong \tau$. We show $\tau^2 \cong \tau$ by Lindenbaum. Since $\tau$ has a left endpoint, we see that, viewing $\tau^2$ as $\tau$-many copies of $\tau$, that $\tau^2$ contains an initial copy of $\tau$. That ishowever, $\tau$ is isomorphicthe answer to an initial segment of $\tau^2$. We will be done if we can show that $\tau^2$Sierpinski's question is isomorphic to a final segment of $\tau^n$, since $\tau^n \cong \tau$still positive. Viewing $\tau^n$ as $\tau^{n-2}$ copies of $\tau^2$The construction requires some work, and using the fact that $\tau^{n-2}$ has a right endpoint (as $\tau$ does), we see that $\tau^n$ has a final copy of $\tau^2$, that is, $\tau^2$ maps isomorphically ontoI do not yet have a final segment of $\tau^n$, as desiredwriteup ready.
In no part of this argument did we need The fact that $\tau$ was countable, sosuch orders exist in some sense says that indeed if $\tau$ is an order of arbitrary size with both endpoints, then $\tau^n \cong \tau$ impliesthe implication $\tau^2 \cong \tau$. Unfortunately$X^3 \cong X \implies X^2 \cong X$, it seems impossible to use a similar argument in the other caseswhile true for linear orders, sinceis close to apply Lindenbaum, we really need that $\tau$ has both endpointsbeing false.