Subtle counterexample to $m\neq n$ but $R^m=R^n$ for some ring $R$ ?

To do Algebraic K-theory, we need a technical condition that a ring $R$ satisfies $R^m=R^n$ if and only if $m=n$. I know some counterexamples for a ring $R$ satisfies $R=R^2$.

Are there any some example that $R\neq R^3$ but $R^2 = R^4$ or something like that?

(c.f. if $R^2=R^4$, then we need that $R^3=R^5=\ldots =R^{2n+1}$ for any $n>1$)

-
I suppose the technical condition "commutative and nonzero" won't cut it, eh? –  BCnrd Aug 24 '10 at 17:38
I disagree with the statement that you need this condition in order to do algebraic $K$=theory. –  Tom Goodwillie Aug 24 '10 at 18:38
What is meant by $R^m=R^n$ here? There are at least two possible interpretations: (1) an isomorphism of free $R$-modules; (2) ring isomorphism. –  Victor Protsak Aug 24 '10 at 19:10

Rings that satisfy the condition $R^n \cong R^m \iff n=m$ are said to have invariant basis number or the invariant basis property. P. M. Cohn has constructed examples of rings which fail to have this property, even giving examples of (non commutative) integral domains for which e.g. $R^3\cong R$ but $R^2\neq R$.

Suppose $R^n\cong R^m$ for some $n,m$. Then there must exist integers $h,k$ such that

$$R^m\cong R^{m'} \iff m=m'\ \mbox{or}\ m,m'\ge h \ \mbox{and} \ m\equiv m'\ (\mod k)$$

A ring satisfying this condition is of type $(h,k)$. In [P. M. Cohn, Some remarks on the invariant basis property, Topology 5 (1966), 215-228] a fairly simple construction is given for rings of type $(h,k)$ for any $h,k$.

There are earlier constructions of rings of type $(h,k)$ by Leavitt [W. G. Leavitt: Modules without invariant basis number, Proc. Am. Math. Sot. 8 (1957), 322-328], [W. G. Leavitt: The module type of a ring, Trans. Am. Math. Sot. 103 (1962), 113-130], but they are far more complicated.

Certainly we can do algebraic K-theory over rings without the invariant basis property; we just need to be a little more careful. For example we won't necessarily have $K_0(R)\cong {\bf Z} \oplus \tilde{K}_0(R)$.

-

There are examples of exotic behavior like that which you propose. The specific objects which you should look for are the Leavitt algebras of type (2,2). A very good source on how to create many such examples is George Bergman's paper "Coproducts and some universal ring constructions" although there are easier methods for the specific example you seek.

-

Yes. I think you are looking for the Leavitt algebras. I don't know much about them but you could start here: http://arxiv.org/PS_cache/arxiv/pdf/0905/0905.3827v1.pdf

The idea is that of the Leavitt algebras $R=L(1,n)$ is that for these algebras $n$ is smallest natural number bigger than $1$ so that $R\cong R^n$

-
Oh. Rereading I see this isn't quite what you ask for. But I'll leave it anyway. –  Simon Wadsley Aug 24 '10 at 17:43