MathDB
n is power of 2

Source:

October 11, 2014
number theory unsolvednumber theory

Problem Statement

Let f(n)f(n) denote the least positive integer kk such that 1+2++k1+2+\cdots+k is divisible by nn. Show that f(n)=2n1f(n)=2n-1 if and only if nn is a power of 22.