Let d be a positive integer. Show that for every integer S, there exists an integer n>0 and a sequence of n integers ϵ1,ϵ2,...,ϵn, where ϵi=±1 (not necessarily dependent on each other) for all integers 1≤i≤n, such that S=∑i=1nϵi(1+id)2. number theory proposednumber theory