<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[12pt,reqno]{article}

\usepackage[usenames]{color}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{amscd}

\usepackage[colorlinks=true,
linkcolor=webgreen,
filecolor=webbrown,
citecolor=webgreen]{hyperref}

\definecolor{webgreen}{rgb}{0,.5,0}
\definecolor{webbrown}{rgb}{.6,0,0}

\usepackage{color}
\usepackage{fullpage}
\usepackage{float}

\usepackage{psfig}
\usepackage{graphics,amsmath,amssymb}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{latexsym}
\usepackage{epsf}

\setlength{\textwidth}{6.5in}
\setlength{\oddsidemargin}{.1in}
\setlength{\evensidemargin}{.1in}
\setlength{\topmargin}{-.5in}
\setlength{\textheight}{8.9in}

\newcommand{\seqnum}[1]{\href{http://oeis.org/#1}{\underline{#1}}}

\begin{document}

\begin{center}
\epsfxsize=4in
\leavevmode\epsffile{logo129.eps}
\end{center}

\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}

\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{conjecture}[theorem]{Conjecture}

\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}

\def\C{{\mathbb{C}}}
\def\R{{\mathbb{R}}}
\def\N{{\mathbb{N}}}
\def\Z{{\mathbb{Z}}}
\def\1{{\bf 1}}

\def\id{\operatorname{id}}
\def\lcm{\operatorname{lcm}}

\def\altern{\operatorname{altern}}
\def\DFT{\operatorname{DFT}}
\def\bino{\operatorname{binom}}
\def\logo{\operatorname{log}}
\def\Gammo{\operatorname{Gamma}}
\def\flooro{\operatorname{floor}}
\def\sawo{\operatorname{saw-tooth}}
\def\sino{\operatorname{sin}}
\def\coto{\operatorname{cot}}

\newcommand{\DOT}{\text{\rm\Huge{.}}}

\begin{center}
\vskip 1cm{\LARGE\bf Errata for the Paper\\
\vskip .11in
``Weighted Gcd-Sum Functions''} 
\vskip 1cm 
\large
L\'aszl\'o T\'oth  \\
Department of Mathematics \\
University of P\'ecs \\
Ifj\'us\'ag u. 6 \\
7624 P\'ecs \\
Hungary  \\
\href{mailto:ltoth@gamma.ttk.pte.hu}{\tt ltoth@gamma.ttk.pte.hu}\\
\end{center}

\vskip .2 in

The  paper \cite{Tot2011} contains some errors. Let

\begin{equation*}
P_{\bino}(n):= \sum_{k=1}^n  \binom{n}{k} \gcd(k,n) \qquad (n\in
\N).
\end{equation*}

In identity (26) of \cite[Prop.\ 9]{Tot2011},
in its proof (second to last line of page 6)
and in identity (28) of \cite{Tot2011} the exponent of $-1$ is
$\ell n/d$ instead of $\ell$. I thank Max Alekseyev for pointing this out.

The correct form of (26) is the following. For every $n\in \N$,
\begin{equation*}
P_{\bino}(n)= 2^n \sum_{d\mid n} \frac{\phi(d)}{d} \sum_{\ell=1}^d
(-1)^{\ell n/d} \cos^n (\ell\pi/d) -n.
\end{equation*}

The correct form of (28) is
\begin{equation*}
R_{\bino}(n):= \sum_{\substack{k=1\\ \gcd(k,n)=1}}^n \binom{n}{k}=
2^n \sum_{d\mid n} \frac{\mu(d)}{d} \sum_{\ell=1}^d (-1)^{\ell n/d}
\cos^n (\ell\pi/d) \qquad (n&gt;1).
\end{equation*}

Furthermore, in the right hand side of identity (35) of \cite[Prop.\ 13]{Tot2011}
the term $n$ is missing. The correct form of (35) is the following.
For every $n\in \N$ and $\alpha \in \R$,
\begin{equation*}
P_{\flooro}(n):=\sum_{k=1}^n  \left \lfloor \alpha + \frac{k}{n}
\right \rfloor \gcd(k,n) = \sum_{d\mid n} \phi(d) \left \lfloor
\frac{n\alpha}{d} \right \rfloor + n.
\end{equation*}

Also, in the right hand side of identity (39) the term $1$ is missing. The correct form of (39) is
\begin{equation*}
\sum_{k=1}^n \left \lfloor \alpha+ \frac{k}{n} \right \rfloor =
\left \lfloor n \alpha \right \rfloor +1 \qquad (n\in \N).
\end{equation*}

\begin{thebibliography}{9}

\bibitem{Tot2011} L.~T\'oth, Weighted gcd-sum functions, {\it J. Integer Seq.}
{\bf 14} (2011),
\href{http://www.cs.uwaterloo.ca/journals/JIS/VOL14/Toth/toth9.html}{Article
11.7.7}.
\end{thebibliography}

\end{document}
</pre></body></html>