A227115 Powers but not squares which are sum of consecutive composites less than 10^7 ordered according to the proximity of the first composite of the sum to the first composite: 4.
27, 10077696, 128, 32768, 8, 27, 1000, 1728, 5088448, 690807104, 27, 32, 512, 2048, 512, 6859, 4913, 243, 405224, 125, 3125, 2744, 98611128, 27000, 314432, 216, 1728, 1889568, 243, 2744, 512, 4913000
Offset: 1
Examples
We denote the n-th composite as c(n). Some of the odd powers are the sum of consecutive composites in several ways: 27 = 3^3 = c(1)+c(2)+c(3)+c(4) = c(3)+c(4)+c(5) = c(17) = 4 + 6 + 8 + 9 = 8 + 9 + 10. 243 = 3^5 = c(189) = c(90)+c(91) = c(57)+c(59)+c(59) = c(41)+c(42)+c(43)+c(44) = 121 + 122 = 80 + 81 + 82 = 58 + 60 + 62 + 63. 1000 = 10^3 is sum of 30 consecutive composites beginning with c(7) = 14. 1728 = 12^3 = Ramanujan taxicab minus 1 is sum of 42 consecutive composites beginning with c(7) = 14 and of 20 consecutive composites beginning with c(53) = 75.
Programs
-
PARI
n1=10^7;v=vector(n1);i=0;for(a=2,n1,if(isprime(a),next,i++;v[i]=a));for(b=1,60,k=0;for(j=b,i,k=k+v[j];if(ispower(k,,&n)&ispower(k)%2==1,print1([k,n,ispower(k),j-b+1,b]," "))))
Comments