

























It is shown in [7] by Venkaiah in 2015 that a category of the number of generalized can be computed using the expression \begin{equation*} e(n, q) = \frac{1}{(q-1) ord(λ) n} \sum^{ord(λ)n}_{\substack{t \in \mathbb{F}_q \setminus \{0\}, i=1 \\ t^{\frac{n}{\gcd(n, i)}} λ^{\frac{i}{\gcd(n,i)}} = 1}}(q^{\gcd(n,i)} - 1) + 1 \end{equation*} where $q$ (number of colors) is the size of the prime field $\mathbb{F}_q$, $λ$ is the constant of the consta-cyclic shift, $n$ is the length of the necklace. However, direct evaluation of this expression requires, apart from the $\gcd$ computations, $2*(q-1)*Ord(λ)*n$ exponentiations and $(q-1)*Ord(λ)*n$ multiplications, at most $(q-1)*Ord(λ)*n$ exponentiations and at most $2*(q-1)*Ord(λ)*n$ additions and hence computationally intensive. This note discusses various other ways of evaluating the expression and tries to throw some light on amortizing the amount of computation.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。