Questions tagged [multiplicative-function]

This tag is for questions relating to multiplicative functions which are arise most commonly in the field of number theory.

In number theory, a multiplicative function is an arithmetic function $~f~ \colon \mathbb N \to \mathbb C$ fulfilling $f(1)=1~~,~~f(ab)=f(a)~f(b)~~$ for $~a~$, $~b~$ coprime.

A completely multiplicative function satisfies $~f(ab)=f(a)~f(b)~$ for all values of $~a~$ and $~b~$.

Multiplicative functions arise naturally in many contexts in number theory and algebra. The Dirichlet series associated with multiplicative functions have useful product formulas, such as the formula for the Riemann zeta function.

Well-known examples of multiplicative functions:

  • Euler's totient functions $\varphi(n)= \text{the number of positive integers $~a\le n~~$ such that} ~~gcd(a,n)=1~.$

  • Divisor functions, e.g. number of divisors $d(n)$ and sum of divisors $\sigma(n)$

  • The Möbius function: $~\mu(n)$

  • The function $e(n) = \left\lfloor\frac{1}{n}\right\rfloor == \begin{cases} ~1~ \quad \text{if}~~ n=1\\ 0 \quad \text{otherwise} \end{cases}$
  • The unit function: $~\mathbf{1}(n)=1~$
  • The identity function: $~I(n) = n ~$

References:

https://en.wikipedia.org/wiki/Multiplicative_function

https://brilliant.org/wiki/multiplicative-function/

266 questions
20
votes
7 answers

How to find the nearest multiple of 16 to my given number n

If I'm given any random $n$ number. What would the algorithm be to find the closest number (that is higher) and a multiple of 16. Example $55$ Closest number would be $64$ Because $16*4=64$ Not $16*3=48$ because its smaller than $55$.
Mrshll187
  • 303
2
votes
1 answer

Multiplying fractions with an x value

$\left(\sqrt{4+\frac{1}{x}}-2 \right) \cdot \left(\sqrt{4+\frac{1}{x}}+2\right)$ I get $\large\frac{1}{x}$ because the square roots go away and the $2$s multiply to make $-4$, so it's: $4 + \large\frac{1}{x} - 4 = \large\frac{1}{x}$ Is this right?…
2
votes
1 answer

Cardinality set of multiples

Given an arbitrarily large set of natural numbers greater than one, S = {$p_0$, $p_1$, ... $p_n$} product of S = $\prod_{i=0}^n\ p_i$ define M as the set of all natural numbers that are multiples of any member of S, smaller or equal than the product…
2
votes
4 answers

Multiplicative Inverse using Fermats theorm

Which of the following is a multiplicative inverse of $11^{23}$ modulo $59$? $11^{21}$ $11^{22}$ $11^{25}$ $11^{35}$ $11^{60}$ I assume that I'm supposed to use Fermat's little theorem in order to show $11^{58}\equiv1\pmod{59}$. And from there I…
1
vote
1 answer

calculating storage based upon on eps?

If an organization collects an average of $20,000$ EPS over eight hours of an ongoing incident, that will require sorting and analysis of $576,000,000$ data records. Using a $300$ byte average size, that amounts to $172.8$ gigabytes of…
asadz
  • 125
1
vote
1 answer

Wrong millimeter values for standard paper sizes at Wikipedia?

On the Wikipedia page https://en.wikipedia.org/wiki/Paper_size there are tables for standard paper sizes. The table "ANSI and CAN paper sizes" has paper size values expressed in inches and millimeters. For example, the ANSI D paper size is expressed…
user1580348
  • 175
  • 5
0
votes
1 answer

Simple act practice test problem

I am going through an act practice test and I came to a problem that said. Which of the following is equal to the product of x and the square of its reciprocal for all x < 0. My first step would be to set up the problem. Which would result in x *…
0
votes
2 answers

Multiplicative inverse of polynomial

Question: Determine the multiplicative inverse of $x^2 + 1$ in $GF(2^4)$ with $$m(x) = x^4 + x + 1.$$ My confusion is over the $GF (2^4)$.
Sam
  • 11
0
votes
0 answers

Average of Multiplicative Function

Let $\mathbb{S}^1$ be the unit circle. Suppose $g:\mathbb{N}\to\mathbb{S}^1$ is a completely multiplicative function such that $$\sum_{\substack{p\in\mathbb{P}\\ g(p)\neq 1}}\frac{1}{p}<\infty.$$ Determine $$\lim_{N\to\infty}\frac{1}{N}\sum_{n=1}^N…
defacto
  • 623
0
votes
1 answer

Increment in multiplying

I want to calculate the total cost of an investment in a game. For each level, the costs is increased with 5000, i.e. lvl 1 costs 5000, lvl 2 costs 1000 and lvl 3 costs 1500 etc. At level 3, the total costs is 30000. How can I calculate the total…
Henny Lee
  • 115
0
votes
2 answers

Prove that function is multiplicative

Prove that if $f(n)$ is multiplicative, so is $g(n) = \sum\limits_{d/n}f(d)$. Any ideas? Thanks
0
votes
1 answer

Cardinality of the set of either completely multiplicative or multiplicative functions defined on $\mathbb N$ and which take values in $\mathbb N$

Suppose that $S$ is a set of functions such that $f \in S$ if and only if $f$ is either multiplicative or completely multiplicative and every $f \in S$ is defined on the set of natural numbers and takes natural numbers as its values ($f: \mathbb N…
Farewell
  • 5,008
0
votes
2 answers

Why is this expression returning NaN?

For smoother ship movement, I am going to gradually move it to it's actual location - So like this: (mz - sz) / (10 * (60 / TerrainDemo.FPS)) mz is the ship's actual location on the Z axis - And I divide it by 10, and obviously at the end I account…
0
votes
3 answers

Why is 15 + 15 different from 15 * 2?

(Apologies if the tag is incorrect. I can't find a "Multiplication" tag or similar) I'm going to be adding a set of 5 numbers up and dividing them to get the average for a java game I am making. However, there seems to be something wrong with it. I…