MathDB
Sum of divisors!

Source: Romania TST 2014 Day 3 Problem 2

January 21, 2015
number theory unsolvednumber theory

Problem Statement

For every positive integer nn, let σ(n)\sigma(n) denote the sum of all positive divisors of nn (11 and nn, inclusive). Show that a positive integer nn, which has at most two distinct prime factors, satisfies the condition σ(n)=2n2\sigma(n)=2n-2 if and only if n=2k(2k+1+1)n=2^k(2^{k+1}+1), where kk is a non-negative integer and 2k+1+12^{k+1}+1 is prime.