Arithmetic function: Difference between revisions

Content deleted Content added
reworded
r_4 seems much more common, e.g. Hardy and Wright
Line 10:
The articles on additive and multiplicative functions contain several examples of arithmetic functions. Here are some examples that are neither additive nor multiplicative:
 
* ''cr''<sub>4</sub>(''n'') - the number of ways that ''n'' can be expressed as the sum of four squares of nonnegative integers, where we distinguish between different orders of the summands. For example:
 
::1 = 1<sup>2</sup>+0<sup>2</sup>+0<sup>2</sup>+0<sup>2</sup> = 0<sup>2</sup>+1<sup>2</sup>+0<sup>2</sup>+0<sup>2</sup> = 0<sup>2</sup>+0<sup>2</sup>+1<sup>2</sup>+0<sup>2</sup> = 0<sup>2</sup>+0<sup>2</sup>+0<sup>2</sup>+1<sup>2</sup>,
 
:hence ''cr''<sub>4</sub>(1)=4.
 
* ''P''(''n''), the [[Partition function (number theory)|Partition function]] - the number of representations of ''n'' as a sum of positive integers, where we don't distinguish between different orders of the summands. For instance: ''P''(2 · 5) = ''P''(10) = 42 and ''P''(2)''P''(5) = 2 · 7 = 14 ≠ 42.