Let A be an algebra (not
necessarily associative) over a commutative ring R. A is left scalar associative if for
each a,b,c ∈ A there exists α ∈ R depending on a, b, c such that (ab)c = αa(bc). A
right scalar associativity is defined similarly. A is scalar commutative if for each a, b
in A, there exists α ∈ R depending on a, b such that αab = ba. In this paper, it is
shown that if A is right and left scalar associative and scalar commutative then
(ab)c − a(bc) and ab − ba are nilpotent for every a, b and c in A. If 1 ∈ A, then
[(ab)c − a(bc)]2= 0. If R is a principal ideal domain then A is associative and
commutative.