Magnetic properties of RNi5−xCux intermetallics