arXiv Analytics

Sign in

arXiv:1001.4170 [math.NT]AbstractReferencesReviewsResources

The sum of digits of $n$ and $n^2$

K. G. Hare, S. Laishram, T. Stoll

Published 2010-01-23Version 1

Let $s_q(n)$ denote the sum of the digits in the $q$-ary expansion of an integer $n$. In 2005, Melfi examined the structure of $n$ such that $s_2(n) = s_2(n^2)$. We extend this study to the more general case of generic $q$ and polynomials $p(n)$, and obtain, in particular, a refinement of Melfi's result. We also give a more detailed analysis of the special case $p(n) = n^2$, looking at the subsets of $n$ where $s_q(n) = s_q(n^2) = k$ for fixed $k$.

Comments: 16 pages
Categories: math.NT, math.CO
Related articles: Most relevant | Search more
arXiv:2405.13223 [math.NT] (Published 2024-05-21)
Towards a refinement of the Bloch-Kato conjecture
arXiv:1510.00282 [math.NT] (Published 2015-10-01)
On the $b$-ary expansions of $\log (1 + \frac{1}{a})$ and ${\mathrm e}$
arXiv:2301.02141 [math.NT] (Published 2023-01-05)
A refinement of Lang's formula for the sum of powers of integers