# Sums of reciprocals of divisors, perfect numbers

A perfect number is a positive integer $n$ such that
$$\sum_{d|n} d = 2n.$$Put another way, $n$ is the sum of its proper divisors. Check out a a quick intro to perfect numbers that I wrote last November. The first three perfect numbers are $6, 28,$ and $496$. Currently, the largest perfect number, corresponding to the largest Mersenne prime is
$$(2^{77232917} – 1)\cdot 2^{77232916}$$This perfect number is over 46 million digits long!

Here's another fun fact about perfect numbers. A positive integer $n$ is perfect if and only if
$$\sum_{d\mid n} \frac{1}{d} = 2.$$This is just a slightly disguised form of the definition of perfect. For
$$\sum_{d\mid n} \frac{1}{d} = \sum_{d\mid n} \frac{n/d}{n} = 2n/2.$$ Even so, the sum $\sum_{d\mid n} 1/d$ is a cool looking as a function of $n$:

What are those stronger lines all about? I don't know. Is this sum bounded? No, because $\sum_{d\mid n} 1/d$ contains the first $k$ terms of the harmonic series for $n = k!$.

Speaking of sums of divisors, can a number ever be the sum of squares of all its proper divisors? What about cubes? I couldn't find any examples…can you?
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.4180726408958435, "perplexity": 290.6718598178583}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2019-13/segments/1552912204086.87/warc/CC-MAIN-20190325174034-20190325200034-00180.warc.gz"}